J
JimS
My main form opens a form that makes changes to the data bound to a subform
in my main form. Trying to keep everything as generic as possible, what I
want to do is something like this:
if strParentName <> "" Then
if CurrentProject.AllForms(strParentName).Isloaded Then
Forms(strParentName).Filter=Forms(strParentName).Filter (forces refresh)
For each <subform> in <Parent form reference>
<force a refresh of that subform>
Next <subform>
endif
endif
What's the syntax for the "for each..." structure?
The subform's record source is a query that calculates remaining quantities.
The Called Form alters those remaining quantities. There's also another
subform on the Main form with similar issues.
in my main form. Trying to keep everything as generic as possible, what I
want to do is something like this:
if strParentName <> "" Then
if CurrentProject.AllForms(strParentName).Isloaded Then
Forms(strParentName).Filter=Forms(strParentName).Filter (forces refresh)
For each <subform> in <Parent form reference>
<force a refresh of that subform>
Next <subform>
endif
endif
What's the syntax for the "for each..." structure?
The subform's record source is a query that calculates remaining quantities.
The Called Form alters those remaining quantities. There's also another
subform on the Main form with similar issues.