Invoice Numbers

B

blanch2010

Is there a way to automatically generate an invoice number in Access 2007?

Invoice report is built but needs a invoice number to be self generated.

Thank you in advance.
Don
 
S

Steve

You probably have an invoice table that looks like:
TblInvoice
InvoiceID
InvoiceDate
CustomerID
InvoiceNumber
etc

In your invoice form you need the expression:
InvoiceNumber = DMax("[InvoiceNumber]","TblInvoiceNumber") + 1
where InvoiceNumber is the name of the field for InvoiceNumber.

Steve
(e-mail address removed)
 

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.

Ask a Question

Top