M
Monty
I'm having some trouble programmatically inserting a new record into a
table. The table contains one indexed field of the type AutoNumber.
I'm tried using the SQL INSERT statement, but I run into problems doing
an insert because I fail to include a value for the autonumber field in
the VALUES portion of the INSERT statement. I haven't discovered a
syntax that will allow me to do the insert while leaving the autonumber
field alone. I've tried using a comma as a placehold and using the
NULL value as a placeholder, to no avail.
Any suggestions?
I'm also looking into the DoCmd.GotoRecord,,acNewRecord (I may have
this syntax wrong right here), but I'm not able to find the syntax for
accessing (within VB) that new record. Any pointers to the right
information?
Thanks in advance
table. The table contains one indexed field of the type AutoNumber.
I'm tried using the SQL INSERT statement, but I run into problems doing
an insert because I fail to include a value for the autonumber field in
the VALUES portion of the INSERT statement. I haven't discovered a
syntax that will allow me to do the insert while leaving the autonumber
field alone. I've tried using a comma as a placehold and using the
NULL value as a placeholder, to no avail.
Any suggestions?
I'm also looking into the DoCmd.GotoRecord,,acNewRecord (I may have
this syntax wrong right here), but I'm not able to find the syntax for
accessing (within VB) that new record. Any pointers to the right
information?
Thanks in advance