Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number generated automatically 1

Status
Not open for further replies.

Angelique21

Programmer
Jun 21, 2006
31
MT
Hi All,

I need to generate a number that each time increments by one, that is takes the next number in line. For example I have an OrderNo Field that each time the user wants to create an Order he must first book the next Order Number in the Form. The Order number thus must be unique, in sequence and its format must be PI 07/--- the first one being PI 07/001. If a second user wants to book an order number the following must show up PI 07/002 etc.

Any suggestions of how I can go about it?

Thanks a lot for any help
 
search these fora (and hte faqs in particular) look for custom autonumber.




MichaelRed


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top