SashaBuilder3
Programmer
Hi everybody,
Here is what I have. My simple db contains just one table. I've created a form with a subform. The subform is based on a SELECT query and simply shows the table contents.
The main form has a few combo boxes from which a user can choose select criteria to filter data rows for the subform. Basically, when a certain value from a combo box is seleted the query gets programatically rebuilt and a new set of data rows is supposed to populate the subform. However, I don't know how to force the subform to show new data. The statement 'subForm.Requery' doesn't work. I also tried to add 'subForm.setFocus' before that, but it didn't help.
Any idea what should be done?
Thanks,
Alex
Here is what I have. My simple db contains just one table. I've created a form with a subform. The subform is based on a SELECT query and simply shows the table contents.
The main form has a few combo boxes from which a user can choose select criteria to filter data rows for the subform. Basically, when a certain value from a combo box is seleted the query gets programatically rebuilt and a new set of data rows is supposed to populate the subform. However, I don't know how to force the subform to show new data. The statement 'subForm.Requery' doesn't work. I also tried to add 'subForm.setFocus' before that, but it didn't help.
Any idea what should be done?
Thanks,
Alex