AllowAdditions - PLEASE HELP!

Yobi4ever

Registered User.
Local time
Today, 09:07
Joined
Feb 2, 2006
Messages
14
Hi,
I have a form "A" with a subform "B". The Subform allowadditions is set to no, however, I would like the user to click a button which is located on form "A if they like to add a record to the subform "B" but I keep getting an error!

The code for the button on form a is the following:
Forms!a!B.AllowAdditions = True

Thank you.
 
Put this behind you command button;

Code:
Me.[COLOR="Blue"]sfrmVehicles[/COLOR].Form.AllowAdditions = False

Change the Name (inBlue) to suit your situlation.
 
Perfect!
Thank you.
 

Users who are viewing this thread

Back
Top Bottom