M
Mike Green
Is there a syntax to use SQL to insert a record and give it the next
available number in a table? I have tried incorperating DMAX into the
statement to get the correct number from the table but I cannot seem to get
the syntax right or am I going about it the wrong way?
The basic SQL is in my previous post, I have one more field in TblInvoice
that I would like to assign the next available number to, If at all possible
I would then like to automatically format it with some text so that it would
become the Invoice referece number that is displayed on the finished
invoice.
Any help is appreciated
Mike
available number in a table? I have tried incorperating DMAX into the
statement to get the correct number from the table but I cannot seem to get
the syntax right or am I going about it the wrong way?
The basic SQL is in my previous post, I have one more field in TblInvoice
that I would like to assign the next available number to, If at all possible
I would then like to automatically format it with some text so that it would
become the Invoice referece number that is displayed on the finished
invoice.
Any help is appreciated
Mike