T
tobesurveyor via AccessMonster.com
Good afternoon,
Currently I have a form called "frmSFieldScheduleSwitchBoard".
This form has a subform called "subfrmWindowCenter" who's source object is
named: "subfrmSFieldSchedule Calendar"
This "subfrmSFieldSchedule Calendar" has several subforms which one of them
is named "subfrm Day1Crew1" whos source object is "subfrmSFieldSchedule
Day1Crew1 3r".
I have created a module that changes the source object of "subfrm Day1Crew1"
to a new form called
subfrmSFieldSchedule Day1Crew1 2r".
I thought I had the correct vba code to complete this but it keeps returning
an error saying it can not find subfrm_Day1Crew1.
I have included the line of code below.
Forms!frmSFieldScheduleSwitchBoard!subfrmWindowCenter!subfrm_Day1Crew1.
SourceObject = "subfrmSFieldSchedule Day1Crew1 3r"
Any help in this would be greatly appreciated.
Thanks,
CF
Currently I have a form called "frmSFieldScheduleSwitchBoard".
This form has a subform called "subfrmWindowCenter" who's source object is
named: "subfrmSFieldSchedule Calendar"
This "subfrmSFieldSchedule Calendar" has several subforms which one of them
is named "subfrm Day1Crew1" whos source object is "subfrmSFieldSchedule
Day1Crew1 3r".
I have created a module that changes the source object of "subfrm Day1Crew1"
to a new form called
subfrmSFieldSchedule Day1Crew1 2r".
I thought I had the correct vba code to complete this but it keeps returning
an error saying it can not find subfrm_Day1Crew1.
I have included the line of code below.
Forms!frmSFieldScheduleSwitchBoard!subfrmWindowCenter!subfrm_Day1Crew1.
SourceObject = "subfrmSFieldSchedule Day1Crew1 3r"
Any help in this would be greatly appreciated.
Thanks,
CF