Order Detail auto line numbering (1 Viewer)

Gismo

Registered User.
Local time
Today, 04:43
Joined
Jun 12, 2017
Messages
1,298
Hi all, any idea how to increment line number in orders detail table for each order number?
 

Minty

AWF VIP
Local time
Today, 02:43
Joined
Jul 26, 2013
Messages
10,371
Use an autonumber field ?

If you mean have an order line starting at 1 for each order , what defines the order the number is created and what happens if a line is deleted?

If it's purely for display on an invoice report then it's simple - have a read here http://allenbrowne.com/casu-10.html
 

Gismo

Registered User.
Local time
Today, 04:43
Joined
Jun 12, 2017
Messages
1,298
Thank you very much, works great
 

Gismo

Registered User.
Local time
Today, 04:43
Joined
Jun 12, 2017
Messages
1,298
I changed my mind, I can not use auto numbering. I need to autonumber from 1 for each order but I want to have that sequence save in the order detail table for future. I need to reuse that line number in a form to be able to go back to that specific record as well as on a report. How do you go about this?
 

Users who are viewing this thread

Top Bottom