F
Fuzzy Logic
I have a form with 3 subforms. When I make a change to one subform how do I
get the other subforms to update?
get the other subforms to update?
I have a form with 3 subforms. When I make a change to one subform how do I
get the other subforms to update?
What's "updating"?
You may want to Requery the other subforms in each Subform's
AfterUpdate event, but it seems a bit peculiar to have subforms
dependent upon one another. What are the Recordsources of these
subforms? In what way are they interdependent?
The code would be something like:
Private Sub Form_AfterUpdate(Cancel as Integer)
Parent!subSubform2.Requery
Parent!subSubform3.Requery
End Sub
where subSubform2 and 3 are the Name properties of the other Subform
controls on the mainform (which may or may not be the same as the name
of the form within that subform control).
John W. Vinson[MVP]
I have one subform that lists detail records and two other subforms that are
essentially totals. One total is of all time for the detail records and the
other is a selective total of detail records. If I change the detail record
from yes to no (or vice versa) I want the selective total to update.
Where do I find the subform control (I keep reading about this but can't for
the life of me find it)?