M
mightymaggie
I am redesigning my company's advertising database. I have a table
(tbl_Issue) containing 12 check boxes, 1 for each month. This is useful
in the form, as the salespeople want to see which months the ad is
running. Ads often run all 12 months.
I am trying to create a query that will return ads based on 2
parameters: publication and month. The publication part is easy, but I
can't figure out how to write a parameter for the check boxes. I want
the query to say "Which month" and when I type in "January", I want to
see all records with a check in the January check boxes.
Right now I have tbl_Issue.ID with 'Where' in the total row and
[January]=-1 in the criteria row. Then I have tbl_Issue.ID with 'Group
By' in the total row. This query returns all the January ads, but I'd
like to turn [January] into a prompt! As I have 4 publications running
ads each month, I really don't want to build a query for each. I tried
doing this without check boxes too- my queries are easy, but I don't
want to enter a new record in the form for each month.
Sorry this is long- thanks for any help!
Maggie
(tbl_Issue) containing 12 check boxes, 1 for each month. This is useful
in the form, as the salespeople want to see which months the ad is
running. Ads often run all 12 months.
I am trying to create a query that will return ads based on 2
parameters: publication and month. The publication part is easy, but I
can't figure out how to write a parameter for the check boxes. I want
the query to say "Which month" and when I type in "January", I want to
see all records with a check in the January check boxes.
Right now I have tbl_Issue.ID with 'Where' in the total row and
[January]=-1 in the criteria row. Then I have tbl_Issue.ID with 'Group
By' in the total row. This query returns all the January ads, but I'd
like to turn [January] into a prompt! As I have 4 publications running
ads each month, I really don't want to build a query for each. I tried
doing this without check boxes too- my queries are easy, but I don't
want to enter a new record in the form for each month.
Sorry this is long- thanks for any help!
Maggie