I have a database for Purchase orders and I would like for the PO # to be the next number in sequence when the form opens. I used auto number for PO ID the Primary Key. I am not sure how to code the sequence function or what event to put expression. I tried to use a DMax function but the code doesn’t look like it is working.
= DMax("[PO Number]", "Purchase Order", "PO Number")+1
Where "PO Number" is the Field name I want to put the number in
and "Purchase Order" is the Table name.
Any help
= DMax("[PO Number]", "Purchase Order", "PO Number")+1
Where "PO Number" is the Field name I want to put the number in
and "Purchase Order" is the Table name.
Any help