R
reservedbcreater
Private Sub Form_Load()
Dim strNextNumber As String
strNextNumber = Nz(DMax("ID", "General Housing Survey"), 0) + 1
strNextNumber = Me.ID
End Sub
?????
i want it to read the General Housing Table ID field and get the highest
number and then increment it by 1 and then fill in the ID field
automatically on the form with the new number opon it opening
Dim strNextNumber As String
strNextNumber = Nz(DMax("ID", "General Housing Survey"), 0) + 1
strNextNumber = Me.ID
End Sub
?????
i want it to read the General Housing Table ID field and get the highest
number and then increment it by 1 and then fill in the ID field
automatically on the form with the new number opon it opening