Printing Labels

gregorg

Registered User.
Local time
Today, 20:47
Joined
Jul 26, 2006
Messages
56
Question for access forum

Hi i have a database for a vets, and i have to print labels for them for the medicine.
The main form has all the patient details and drug details. I have tp produce a report i guess and populate it with details from the main form and from an inputbox (drug amount).
So I DoCmd.OpenReport to open the report that will be the label for the bottle but i need to populate the report with details form the main form and from an inputbox and I don’t know how to do this.
The report is not based on a table, but is just built from the main form and from details from an input box. So I am guessing i use a clause in the openreport statement to populate the report. But I amnot sure how to do this as the report is not based on a table.

Also i was wondering if the openreport statement can send the peport straight to the printer without opening it on the screen first, this would be to cut down the number of buttons the user need to press to get the label to print.
Also I don’t even know if using a report is the best way to print labels, but i guess it was the best way.

I was thinking -- docmd.openreport Name, , Details of Contols to fill from main form and inputbox, ,

:(

Thanks, GregorG.
 
Thanks very much.
 

Users who are viewing this thread

Back
Top Bottom