I am trying to fix a problem with a purchase order form. I need to have auto numbers in the item number field (which is in a sub form) but i need it to start again for each purchase order. Currently i am using:
Nz(Dmax(expression,domain),0)+1
In the Default value field. The domain is a select query that filters the item numbers based on the current purchase order record. My trouble is it always repeats the number before it ascends... I should also mention that it is in a continuous sub form. Any ideas on what im doing wrong would be greatly appreciated.
Taison.
Nz(Dmax(expression,domain),0)+1
In the Default value field. The domain is a select query that filters the item numbers based on the current purchase order record. My trouble is it always repeats the number before it ascends... I should also mention that it is in a continuous sub form. Any ideas on what im doing wrong would be greatly appreciated.
Taison.
Last edited: