D
developer needs help
Hi
I'm trying to do something which I think is fairly basic.
I have a table with the primary key (ID) set to autonumber
type.
If I use the datasheet view then ID automatically
increases.
That's fine, but I want the SQL for this automatic
insertion so that I can use it in code.
How can I do this without forcing a value to be input into
ID, e.g. INSERT INTO MYTABLE VALUE (1,"myname");
I would like the value 1 to be brought up automatically?
Please help.
Thanks.
I'm trying to do something which I think is fairly basic.
I have a table with the primary key (ID) set to autonumber
type.
If I use the datasheet view then ID automatically
increases.
That's fine, but I want the SQL for this automatic
insertion so that I can use it in code.
How can I do this without forcing a value to be input into
ID, e.g. INSERT INTO MYTABLE VALUE (1,"myname");
I would like the value 1 to be brought up automatically?
Please help.
Thanks.