mtagliaferri
Registered User.
- Local time
- Today, 20:02
- Joined
- Jul 16, 2006
- Messages
- 550
I have this code to open a from in add mode to add a record, however I would like the edit cmd button to change to no visible when the form is open in add mode
I have an error : Compile error Method or data member not found.
What code should I use?
Code:
Private Sub CmdAdd_Click()
DoCmd.OpenForm "frmAirport", acNormal, , , acFormAdd
Me.CmdEdit.Visible = False
End Sub
What code should I use?