K
keesb
I have a query in witch a want one field count +1
It is based on a tabel
The field is called InvoiceNumber in my tabel Invoices
so if the last value is 45 the next one must be 46.
My query must do this for a lot of records in my table.
I tried to use Dmax () but when my last number is 45 and I run my query, all
the records get the number 46.
I dont want to use AutoNumber.
How can I solve this?
regards
Kees
It is based on a tabel
The field is called InvoiceNumber in my tabel Invoices
so if the last value is 45 the next one must be 46.
My query must do this for a lot of records in my table.
I tried to use Dmax () but when my last number is 45 and I run my query, all
the records get the number 46.
I dont want to use AutoNumber.
How can I solve this?
regards
Kees