M
mscertified
I have a search criteria form with several combo boxes. I want to postpone
loading the rowsources until I need to because they could possibly be several
thousands of rows each.
The contents of the combo boxes depends on the other search criteria.
If a user does not use a combo box I don't want to load the rowsource at
all. If they do use it, I want to load the rowsource at that point based on
the rest of the search criteria (to minimize the rows).
After a combo box rowsource is loaded, if the user changes some other search
criteria, I may need to rebuild the rowsource and requery it.
This all seems rather complex. Is there a 'best practice' way to do this?
Thanks.
loading the rowsources until I need to because they could possibly be several
thousands of rows each.
The contents of the combo boxes depends on the other search criteria.
If a user does not use a combo box I don't want to load the rowsource at
all. If they do use it, I want to load the rowsource at that point based on
the rest of the search criteria (to minimize the rows).
After a combo box rowsource is loaded, if the user changes some other search
criteria, I may need to rebuild the rowsource and requery it.
This all seems rather complex. Is there a 'best practice' way to do this?
Thanks.