G
Guest
I have created a form (frm_Filter) that allows the user to select the values
to as many parameters as they wish (City, Item, Priority level, customer
Name, delivery date, etc...).
If the user presses a button (cmd_Start), then a filter string is created
(like the WHERE condition in an SQL query) that can be used to filter a
report or a form or a query or whatever.
If the user presses a button (cmd_CloseForm), the form is closed and no such
string is formed.
When the user selects a report from the Main Menu (frm_Main), I would like
(frm_Filter) to open up, allow the user to create a filter. Then when the
button is pressed (cmd_Start), the filter form (frm_Filter) closes and passes
the string to the Main Menu form (the calling form). Now the report can be
opened with the correct filter.
Any suggestions?
I knew how to do this a year ago......but have forgotten since.
to as many parameters as they wish (City, Item, Priority level, customer
Name, delivery date, etc...).
If the user presses a button (cmd_Start), then a filter string is created
(like the WHERE condition in an SQL query) that can be used to filter a
report or a form or a query or whatever.
If the user presses a button (cmd_CloseForm), the form is closed and no such
string is formed.
When the user selects a report from the Main Menu (frm_Main), I would like
(frm_Filter) to open up, allow the user to create a filter. Then when the
button is pressed (cmd_Start), the filter form (frm_Filter) closes and passes
the string to the Main Menu form (the calling form). Now the report can be
opened with the correct filter.
Any suggestions?
I knew how to do this a year ago......but have forgotten since.