D
Dee
Hello,
I have a contact database. I created a form to use as a dialog box. On the
dialog box I added 2 combo boxes which looks up information in 2 tables. The
information would be "country" and "protocol". I created a query and added
the combo boxes as criteria in the country and protocol fields. When I choose
which country and which protocol on the dialog form and click the ok button
it runs the query and filters the form. I want to create a mailing labels
report so that when I click a command button on this form, the report only
creates labels for the filtered data. My first question is: Should I base the
report on the query. My second question: Could you help me with the code for
the command button that would run the labels for the filtered data. I don't
know how to write the code myself and would appeciate any help. Could you
direct me to a link that might explain this procedure. I am using Access 2003.
Thanks in advance for any help.
Best regards,
Dee
I have a contact database. I created a form to use as a dialog box. On the
dialog box I added 2 combo boxes which looks up information in 2 tables. The
information would be "country" and "protocol". I created a query and added
the combo boxes as criteria in the country and protocol fields. When I choose
which country and which protocol on the dialog form and click the ok button
it runs the query and filters the form. I want to create a mailing labels
report so that when I click a command button on this form, the report only
creates labels for the filtered data. My first question is: Should I base the
report on the query. My second question: Could you help me with the code for
the command button that would run the labels for the filtered data. I don't
know how to write the code myself and would appeciate any help. Could you
direct me to a link that might explain this procedure. I am using Access 2003.
Thanks in advance for any help.
Best regards,
Dee