This is not a job for a macro. If your invoice "template" is a single
view form, you can set the Default Value property of the InvoiceNumber
textbox to the equivalent of...
DMax("[InvoiceNumber]","Invoices")+1
(obviously substitute the names of your own actual table and field
names).
- Steve Schapel, Microsoft Access MVP
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.