Hi all,
I have a table with an autonumber. I have a form where users can add records to that table. The autonumber field "ID" will be hidden on the form, I'm just displaying it for testing. Problem is, when I add a new record it populates the ID field but it won't let me save it saying it's blank. What am I missing?
This is the save command the user clicks to save the record.
Code:
Private Sub cmdSave_Click() Saved = True
DoCmd.RunCommand (acCmdSaveRecord)
Me.cmdSave.Enabled = False
Saved = False
Me.Requery
End Sub

