THis is for Access 2000 SP3.
On Mar 30, 4:23 pm, paq...@gmail.com wrote:
I want users to be able to set the Allow Additions property to 'True'
via a command button when required. (The command also adds data to the
subform) If they skip the command, they skip the data transfer. Hence
I want to set the Allow Additions property via a command button.
I set up the command button with the following code, but I keep
getting an error: Method or Data Member not found (Debug highlights
the allow additions section.
The command button is located on the main form.
Here are the variations of code I have tried;
Private Sub Create_Job_Click()
Me.Field_Form_Sub.Visible = True
Me.Field_Form_Sub.SetFocus
Field_Sub_Form.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
Private Sub Create_Job_Click()
Me.Field_Form_Sub.Visible = True
Me.Field_Form_Sub.SetFocus
Me.Field_Sub_Form.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
Private Sub Create_Job_Click()
Me.Field_Form_Sub.Visible = True
Me.Field_Form_Sub.SetFocus
Me.AllowAdditions = True
DoCmd.GoToRecord , , acNewRec
Am I putting the Allow additions in the wrong place? Any help would be
greatly appreciated.