Metakit and Tcl (and maybe others)

"Bob X" <[email protected]>
Newsgroups gmane.comp.db.metakit
Message-ID <[email protected]>
I am using 2.4.9.3 on Windows XP with ActiveTcl.
 
I am creating a simple ticket tracker and I defined my view:
 
set view [mk::view layout db.tracker "username:S ticket:S recieved:I closed:I problem:S notes:S status:I"]

I then append into the view:
 
mk::row append $view username "Jeff Walsh" ticket "000001081" recieved "20040419" closed "20040419" problem "Password locked" notes "Reset password to Ellipse" status "0"
 
I then get errors:
 
<error>
expected integer but got "000001058" (looks like invalid octal number)
    while executing
"mk::row append $view username "Don Lang" ticket "000001058" recieved "20040409" closed "20040409" problem "Application is hanging" notes "Network prob..."
    (file "initial_loader.tcl" line 18)
</error>
 
I could change it to a String (works that way) but I would like to leave it an Integer. Are the leading zero's causing the problem? I have to have those as the program spitting the data out uses those.

Robert
-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.


Powered by Outblaze
_____________________________________________
Metakit mailing list  -  [email protected]
http://www.equi4.com/mailman/listinfo/metakit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.