I'm pretty stumped here. Hope someone can help.
I have a master form that contains one subform control. The master form has a number of buttons that use the following code to change the subform's SourceObject:
If Me!SurveySubSection.SourceObject = "frmSurvey120" Then
'do nothing
Else
Me!SurveySubSection.SourceObject = "frmSurvey120"
End If
If Me!SurveySubSection.SourceObject = "frmSurvey115" Then
'do nothing
Else
Me!SurveySubSection.SourceObject = "frmSurvey115"
End If
etc.
This works great in 2003. But after converting to 2007, I get an empty suibform control. Any ideas why? I know the 2007 subform has new properties. Does something there need to change?
I have a master form that contains one subform control. The master form has a number of buttons that use the following code to change the subform's SourceObject:
If Me!SurveySubSection.SourceObject = "frmSurvey120" Then
'do nothing
Else
Me!SurveySubSection.SourceObject = "frmSurvey120"
End If
If Me!SurveySubSection.SourceObject = "frmSurvey115" Then
'do nothing
Else
Me!SurveySubSection.SourceObject = "frmSurvey115"
End If
etc.
This works great in 2003. But after converting to 2007, I get an empty suibform control. Any ideas why? I know the 2007 subform has new properties. Does something there need to change?