Tim Bedborough
Registered User.
- Local time
- Today, 16:07
- Joined
- Nov 16, 2015
- Messages
- 42
Hi all. Just getting into coding but been using Access for a while. Could use some help on allowing editing please.
I have a form which I've locked 'OnCurrent' using :
Me.AllowEdits = False
Me.AllowDeletions = False
Me.AllowAdditions = True
I then have btnedit button to change things to editable.
I have a new record wizard which opens the form but I want to allow editing at this point without the need to click the edit button.
I am opening this form from another using :
Private Sub btnopenfrmjobs_Click()
DoCmd.Close acForm, "frmnewjobwizard1"
DoCmd.OpenForm "frmjobs"
DoCmd.RunCommand acCmdRecordsGoToLast
DoCmd.GoToControl "RPRManager"
End Sub
at this point I put Me.AllowEdits=True but it doesn't like it. Do I need to specifically name the form somehow ?
Thanks,
I have a form which I've locked 'OnCurrent' using :
Me.AllowEdits = False
Me.AllowDeletions = False
Me.AllowAdditions = True
I then have btnedit button to change things to editable.
I have a new record wizard which opens the form but I want to allow editing at this point without the need to click the edit button.
I am opening this form from another using :
Private Sub btnopenfrmjobs_Click()
DoCmd.Close acForm, "frmnewjobwizard1"
DoCmd.OpenForm "frmjobs"
DoCmd.RunCommand acCmdRecordsGoToLast
DoCmd.GoToControl "RPRManager"
End Sub
at this point I put Me.AllowEdits=True but it doesn't like it. Do I need to specifically name the form somehow ?
Thanks,