Invoice number

J

Jeanne

Hello,
I need to have a field on a report that represents a invoice number. I
would like the user to have a pop up on open to enter a starting number and
have it increment one one each page after. I do not need the invoice number
to be stored in the database.
 
M

Marshall Barton

Jeanne said:
I need to have a field on a report that represents a invoice number. I
would like the user to have a pop up on open to enter a starting number and
have it increment one one each page after. I do not need the invoice number
to be stored in the database.


Add an invisible text box named txtStart to the report's
Header section and set its control source expression to
=[Enter Starting Serial Number]

Then add an invisible text box named txtCount to the invoice
header section. Set its control source expression to =1 and
its RunningSum property to Over All.

Finally, add a visible text box to the invoice header
section and set its control source expression to
=txtStart + txtCount - 1
 

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