RaineSpencer
Programmer
Hi --
I have a form with a subform (with linkmaster and linkchild set up). I want some code to run when data in a particular control on the subform is changed. I have tried placing the code in the subform's before update event, but it never runs when the form is being used as a subform (it does run, and works fine, when the form is a standalone form). I have tried placing code in the main form's ondirty event, but changes to data on a subform does not trigger the ondirty event on the main form. When or how can I either trigger the subform's update events, or get the main form to notice when data on a subform is entered or updated?
many thanks in advance,
Lorraine
I have a form with a subform (with linkmaster and linkchild set up). I want some code to run when data in a particular control on the subform is changed. I have tried placing the code in the subform's before update event, but it never runs when the form is being used as a subform (it does run, and works fine, when the form is a standalone form). I have tried placing code in the main form's ondirty event, but changes to data on a subform does not trigger the ondirty event on the main form. When or how can I either trigger the subform's update events, or get the main form to notice when data on a subform is entered or updated?
many thanks in advance,
Lorraine