Q
quaddawg via AccessMonster.com
I have two reports that I want to print from a command button. I want the
user to supply a date as a parameter one time and have the macro print two
Thank You letters, one for New Members and one for Renewals.
As it stands now, both reports use a single query that prompts for a date and
the query selects records with a MemberStatus of "1" (for Renewal) and "2"
(for New Members) (these were entered on a form). The command button opens
the macro which prompts for the date for each report that it opens. The Where
Condition filters the records into the two categories.
Here's my question: This works ok, but it's certainly not elegant because the
user has to enter the date twice. There must be an obvious way to have the
command button prompt for the date one time and use that value to select or
filter the records, which are further categorized by the Where conditions of
the macro, but I don't know enough to know how to pull it off.
Any advice is much appreciated,
Lawton
user to supply a date as a parameter one time and have the macro print two
Thank You letters, one for New Members and one for Renewals.
As it stands now, both reports use a single query that prompts for a date and
the query selects records with a MemberStatus of "1" (for Renewal) and "2"
(for New Members) (these were entered on a form). The command button opens
the macro which prompts for the date for each report that it opens. The Where
Condition filters the records into the two categories.
Here's my question: This works ok, but it's certainly not elegant because the
user has to enter the date twice. There must be an obvious way to have the
command button prompt for the date one time and use that value to select or
filter the records, which are further categorized by the Where conditions of
the macro, but I don't know enough to know how to pull it off.
Any advice is much appreciated,
Lawton