AshikHusein
Registered User.
- Local time
- Today, 12:39
- Joined
- Feb 7, 2003
- Messages
- 147
I am very new to Access and now am facing a problem with Macros. I have created a report from a query. The query is based on another query and this other query is based on the main table. I want to run the report based on filtered data from the main table. However, I dont want the the main table to open when I run the filter operation through the macro. When I try to open the report directly from the macro and put in the condition that [tbl_xxx]![Centre] = "Toronto" I get an error message. So the questions are
1) If I want to filter data in the main table how can I do it without opening the table or setting it so that the main table should not show although it is open, while using a macro.
2) If I open the report directly from the macro, how could I filter the data in the main report.
The query from which the report is drawn does not include the field on which the data is filtered.
Would appreciate help on this. Thanks.
1) If I want to filter data in the main table how can I do it without opening the table or setting it so that the main table should not show although it is open, while using a macro.
2) If I open the report directly from the macro, how could I filter the data in the main report.
The query from which the report is drawn does not include the field on which the data is filtered.
Would appreciate help on this. Thanks.