I am used to do the following in an Access MDB.
when needed to change multiple subforms record source based on what is filtered in main form.
Have all the subforms be based on a query and change the queries SQL property in code when user selects all the filter options and clicks the filter button.
Now in ADP I am wondering how can this be accomplished?
Just to give an example what I am looking to accomplish.
I have a form that includes 2 sub forms regarding totals of employees records, one is grouped by City and the other by Month hired, and I would like the main form should have the options to filter what kind of employees they are looking for, and the filter should reflect both subforms.
P.S. Perhaps there is a way to change a view's sql by code?
However I thought that could affect other users trying to filter at the same time.
(Waiting to hear from users if its intended to be used by more then one person at the same time..)
So first lets hear from you guys what's the right strategy here..