Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkboxes ApplyFilter action using Macro!

Status
Not open for further replies.

Jeddiah

Programmer
Apr 30, 2002
17
US
I'm having a problem with a form that have checkboxes that uses a macro to open a report. I keep getting the error message when the report opens. My unbound form has a option group (Group1) that with the labels listed below and their option value:
Mailclerk=1, Inventoryclerk=2, Janitor=3, Carpenter=4, Printer=4. When one of these jobs are checked, I want to preview my report(ClientSkillsList) and view only those clients that has that selected skill.
My macro is:
Condition Action FilterName WhereCondition
[Group1]=1 ApplyFilter qrySills [MailClerk]=True
[Group1]=2 ApplyFilter " [InventoryClerk]=True
[Group1]=3 " " " [Janitor]=True
[Group1]=4 " " " [Printer]=True

Problem, ApplyFilter not filtering the report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top