Hi all
I want to be able to figure out the next autonumber in a table using vb. at first i had the stupid idea of taking the last number and adding 1. But this was without the forthought of what if a record has been deleted. when it takes the last number and adds 1 its does not get the true next autonumber.
Is there a way I can get this though VB?
all help and advise is greatly apreciated.
Many Thanks
Tim
I want to be able to figure out the next autonumber in a table using vb. at first i had the stupid idea of taking the last number and adding 1. But this was without the forthought of what if a record has been deleted. when it takes the last number and adds 1 its does not get the true next autonumber.
Is there a way I can get this though VB?
all help and advise is greatly apreciated.
Many Thanks
Tim