I can't seem to keep a list box synced with its parent form.
Here is the layout:
mainForm
+subForm1
+lstListbox
I have the child and master fields between mainForm and subForm1 linked, so that the subform updates along with its parent. But the lstListbox control has a query of its own that must be updated whenever subForm1 is updated. I have tried putting me.lstListbox.requery in the onCurrent event of subForm1, but this causes an endlsee cycle of "Calculating...." to appear in the status bar, and the lstListbox to be continually requeried even if nothing is happening. Because of this, if I select a control, it goes out of focus as fast as I can try to keep in selected.
How can I make lstListbox stay in sync with its parent form (which is a subForm)?
thanks
Start Free Trial