G
Guest
I am trying to do the following with a button located on the main form:
1 - Transfer control to the sub-form
2 - Allow additional records to be added to the sub-form
The main and sub-forms both have the following parameters set "on open" :
Allow Edit - No
Allow Deletions - No
Allow Additions - No
I need to change the Sub-form "Allow Additions" to Yes when I click on the
button located on the main form.
So far my code is:
DoCmd.GoToControl "Sub-form" (This Works))
Me!Details.Enabled = True (This Appears to Work -
No errors)
Me.AllowAdditions = True (Can't get past this
point ! )
Thank You in advance for any assistance!
1 - Transfer control to the sub-form
2 - Allow additional records to be added to the sub-form
The main and sub-forms both have the following parameters set "on open" :
Allow Edit - No
Allow Deletions - No
Allow Additions - No
I need to change the Sub-form "Allow Additions" to Yes when I click on the
button located on the main form.
So far my code is:
DoCmd.GoToControl "Sub-form" (This Works))
Me!Details.Enabled = True (This Appears to Work -
No errors)
Me.AllowAdditions = True (Can't get past this
point ! )
Thank You in advance for any assistance!