I have a form with Vendors that enters information to the tblDemoTrans and a subform that the Receipt information from the Vendor entered into. I want to do a DMax on the ReceiptNr field in the subform.
I have tried: DMax("ReceiptNr","tblDemoTrans") + 1 and =[Me]![ReceiptNr].[Value]=DMax("ReceiptNr","tblDemoTrans")+1
In the load on form, After Update of the ReceiptNr field, Before Update of that field, On focus of that field.
I can't get it to populate the next number. Any ideas which property it should go into and if either are the correct codes?
I have tried: DMax("ReceiptNr","tblDemoTrans") + 1 and =[Me]![ReceiptNr].[Value]=DMax("ReceiptNr","tblDemoTrans")+1
In the load on form, After Update of the ReceiptNr field, Before Update of that field, On focus of that field.
I can't get it to populate the next number. Any ideas which property it should go into and if either are the correct codes?