J
JD McLeod
I have a form (fingindinput) that is used to populate a table
[findingstable]. On the form, i have some cascading combo boxes
("auditsection" and "auditsubsection"). On the auditsubsection combo box
looks at a query for its control source. On the after update event of
"auditsection" i have a macro that requeries the "auditsubsection" control.
everything works fine while filling out the form, the combo boxes perform as
they should and the data selected is written to the table.
the problem comes in when i go back into the form and scroll through the
records, then the "auditsubsection" combo box is blank for some, but not all
records. the data is still in the underlying table, but it just doesn't
display in the form. to correct this, i went to the form's "on current"
event and entered the same query macro that i have in the after update
section of the "auditsection" control and that worked, except when i close
the form, i get an error message that asks for a parameter value. I
recognize the parameter value as the one used in the query which is the
record source for "auditsubsection".
Please help. I have looked through numerous other posts and didn't find
anything that i understood that would help. thanks.
[findingstable]. On the form, i have some cascading combo boxes
("auditsection" and "auditsubsection"). On the auditsubsection combo box
looks at a query for its control source. On the after update event of
"auditsection" i have a macro that requeries the "auditsubsection" control.
everything works fine while filling out the form, the combo boxes perform as
they should and the data selected is written to the table.
the problem comes in when i go back into the form and scroll through the
records, then the "auditsubsection" combo box is blank for some, but not all
records. the data is still in the underlying table, but it just doesn't
display in the form. to correct this, i went to the form's "on current"
event and entered the same query macro that i have in the after update
section of the "auditsection" control and that worked, except when i close
the form, i get an error message that asks for a parameter value. I
recognize the parameter value as the one used in the query which is the
record source for "auditsubsection".
Please help. I have looked through numerous other posts and didn't find
anything that i understood that would help. thanks.