i don't really understand. it's hard to see why subformB should depend on something in subformA
however, given a parent form, with two subforms you can generally use this sort of code to interface between them.
parent!othersubform.form!fieldname etc
if you just mean that changing subformA should mean subformB requeries, then something like this ...
parent!subformB.form.requery