L
LJG
Hi Guys,
Any idea why this code does not work?
Private Sub Form_BeforeInsert(Cancel As Integer)
Me!txtID = Nz(DMax("[CustNumber]", "[tblContacts]")) + 1
End Sub
Have used it before in another form and works fine, object & table names are
correct
TIA
Les
Any idea why this code does not work?
Private Sub Form_BeforeInsert(Cancel As Integer)
Me!txtID = Nz(DMax("[CustNumber]", "[tblContacts]")) + 1
End Sub
Have used it before in another form and works fine, object & table names are
correct
TIA
Les