Printing reports froma form

M

MrC610

I created an invoice form that feeds data to a printable report version of
the invoice.
Right now, the report uses the criteria [Enter Invoice Number] to view/print
a specific invoice.
Is it possible to add a button on the form itself that will allow me to
print the report for it WITHOUT having to retype the invoice number? I added
a print report button on the form, but it still asks for the Invoice Number.
I hope my question makes sense.

Thanks
 
C

Chuck

I created an invoice form that feeds data to a printable report version of
the invoice.
Right now, the report uses the criteria [Enter Invoice Number] to view/print
a specific invoice.
Is it possible to add a button on the form itself that will allow me to
print the report for it WITHOUT having to retype the invoice number? I added
a print report button on the form, but it still asks for the Invoice Number.
I hope my question makes sense.

Thanks
Base your report on a query that contains all the fields the report uses. Set
the criteria for the invoice number in the query to :
= Forms.your form name.text box name where you enter invoice number

Put a command button on the form that opens the report but does not close the
form..

The report will look at the query for its data. The query will get invoice
data from the form which, although it may be hidden, will still be open.

Chuck
 
M

MrC610

Chuck said:
I created an invoice form that feeds data to a printable report version of
the invoice.
Right now, the report uses the criteria [Enter Invoice Number] to view/print
a specific invoice.
Is it possible to add a button on the form itself that will allow me to
print the report for it WITHOUT having to retype the invoice number? I added
a print report button on the form, but it still asks for the Invoice Number.
I hope my question makes sense.

Thanks
Base your report on a query that contains all the fields the report uses. Set
the criteria for the invoice number in the query to :
= Forms.your form name.text box name where you enter invoice number

Put a command button on the form that opens the report but does not close the
form..

The report will look at the query for its data. The query will get invoice
data from the form which, although it may be hidden, will still be open.

Chuck

THANKS!!! ~MrC610
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top