Update form based on selected subform record

M

Max Moor

Hi All,

I have a form with a subform on it. I want to requery the main form
when the selection in the subform changes, based on one of the values in
the subform record. I wrote an event procedure off the subform's
"OnSelectionChange" event that passes the value to a function on the main
form. This function writes it to a text box used in the main form's query,
and then requeries it.

First off, I never seem to generate the OnSelectionChange event. I
set a breakpoint, and never hit it.

Beyond that, what I'm doing seems awfully convoluted. There must be
a cleaner way. Can anyone help me raise my fog?

Thanks, Max
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top