Jimgarry
MIS
- May 16, 2000
- 112
Hi, thanks in advance
I am working with a table that has autonumber Increment as the key filed. I am writting the records from VB.
I would like to get the next Autonumber to be written prior to the record being written. now using a qry
slelect max(autoField) from table XX provides me with the current auto number so I can add 1 BUT !!!
what about when the table is blank. the next number is not always 1 how do I determin the next autonumber in this case?
Thanks
Jim
I am working with a table that has autonumber Increment as the key filed. I am writting the records from VB.
I would like to get the next Autonumber to be written prior to the record being written. now using a qry
slelect max(autoField) from table XX provides me with the current auto number so I can add 1 BUT !!!
what about when the table is blank. the next number is not always 1 how do I determin the next autonumber in this case?
Thanks
Jim