Extra_Cover
Registered User.
- Local time
- Today, 19:36
- Joined
- Oct 21, 2008
- Messages
- 71
I would like to change the source object of a subform to a report. I have tried the following, which works when using forms.
I get the following error 'The settings you entered isn't valid for this property'
Does anyone know if this is possible?
Code:
stDocName = "Rpt_DOI_Summary"
Forms!Frm_MainMenu.SubFrmOption.SourceObject = stDocName
Forms!Frm_MainMenu.SubFrmOption.SetFocus
I get the following error 'The settings you entered isn't valid for this property'
Does anyone know if this is possible?