Link to home
Start Free TrialLog in
Avatar of ReefIT
ReefIT

asked on

Save Subform design changes

How do I save a Subform design change via vba ?
Subform is Datasheet view, changes are made via vba, and I want to save these subform design changes.
The main code changes ConditionalFormatting on the subform, and it is these changes I want saved.
MS Access environemts 2003 and greater.
Avatar of Hamed Nasr
Hamed Nasr
Flag of Oman image

In general to save form changes, DoCmd.Save acForm,"frmName"

Avatar of ReefIT
ReefIT

ASKER

That works for the MainForm, but it's not working for the SubForm on the MainForm as the SubForm is only a object on the MainForm
ASKER CERTIFIED SOLUTION
Avatar of Hamed Nasr
Hamed Nasr
Flag of Oman image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial