I am writing this from home so it will be a bit vague
I have built a database that is used to enter the jobs for the shop (medium engineering firm)
Lately I was asked to add a form to provide sequential quote numbers. I did this by when a new record was added, I used dlookup to find the max value of the field in the table behind it and added one to it. This works fine. I tried to save the new record by docmd acsaverecord so that the record is written immediately so that if someone else gets a new quote number before the form is closed by the first user, they get the next number.
This is not working, the record is not saved until the form is closed. Which means that on occasions, I am getting double ups.
I don’t understand recordsets, but am I only saving the new record to the recordset and not to the actual table??
If you need more info, just say so.
Regards,