jbpelletier
Programmer
using d5 with an acces database...
the key of my table is an autonum (access)
problem:
when im inserting a record into the table, after the post the field "key" , witch is an (autonum) still empty.
ex)
MyTable.Insert;
DBEdit1.Field.Text:='Field 1';
MyTable.Post;
result)
ShowMessage(MyTable.Fields[0].AsString); //show nothing
ShowMessage(MyTable.Fields[1].AsString); //show Field 1
how can i get the key value?
jb
the key of my table is an autonum (access)
problem:
when im inserting a record into the table, after the post the field "key" , witch is an (autonum) still empty.
ex)
MyTable.Insert;
DBEdit1.Field.Text:='Field 1';
MyTable.Post;
result)
ShowMessage(MyTable.Fields[0].AsString); //show nothing
ShowMessage(MyTable.Fields[1].AsString); //show Field 1
how can i get the key value?
jb