I have made the supposition that you can change the SourceObject when you have a toggle button on a form. Here is part of the code for the Click event:
[tt]
frmIdfProcSub.SourceObject = IIf(togIdfLocDups.Value = True, _
"frmIsoControlSub4qryIDFlocationDupLocs", _
"frmIsoControlSub4qryIDFlocation"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
[/tt]
It successfully changes the subforms SourceObject, but the data does not change at all. Is my supposition incorrect or am I missing a step?
tia,
GGleason
[tt]
frmIdfProcSub.SourceObject = IIf(togIdfLocDups.Value = True, _
"frmIsoControlSub4qryIDFlocationDupLocs", _
"frmIsoControlSub4qryIDFlocation"
[/tt]
It successfully changes the subforms SourceObject, but the data does not change at all. Is my supposition incorrect or am I missing a step?
tia,
GGleason