G
Guest
I have a value that should be incrementing automatically (from a query) when
a form opens. However, the new value is not populating the table. So when
a new form is opened, the value is not incrementing.
Here is my code.
Private Sub Form_Open(Cancel As Integer)
txt_Contract_Main_No = 1 + Nz(DMax("Contract_Main_No",
"Qry_Int_Contracts_Main"), 0)
End Sub
Is there something else I need to do to get the new incremented number to
populate my table?
As always, any help is appreciated.
a form opens. However, the new value is not populating the table. So when
a new form is opened, the value is not incrementing.
Here is my code.
Private Sub Form_Open(Cancel As Integer)
txt_Contract_Main_No = 1 + Nz(DMax("Contract_Main_No",
"Qry_Int_Contracts_Main"), 0)
End Sub
Is there something else I need to do to get the new incremented number to
populate my table?
As always, any help is appreciated.