Hi
I have a form where I enter customer orders, the main form containing customer name address etc.
On this form I have a sub form which holds the individual line sof the the order, part no qty etc.
I need to number these lines starting at 1 for each new order, and increasing for each line of the order.
I can get it to work correctly from line 3 onwards, but I get 2 for the first two lines. I have tried using the value currentrecord and adding 1 , but as I am line 1 when I set the value for line 1 it gives 2, and if I don't add 1 each line number is 1 too low.
Any ideas?
Thanks
Sue Powell.
I have a form where I enter customer orders, the main form containing customer name address etc.
On this form I have a sub form which holds the individual line sof the the order, part no qty etc.
I need to number these lines starting at 1 for each new order, and increasing for each line of the order.
I can get it to work correctly from line 3 onwards, but I get 2 for the first two lines. I have tried using the value currentrecord and adding 1 , but as I am line 1 when I set the value for line 1 it gives 2, and if I don't add 1 each line number is 1 too low.
Any ideas?
Thanks
Sue Powell.