Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printing report from form

Status
Not open for further replies.

bruno1

Technical User
Dec 10, 2005
8
ES
I have an invoice report that prints from a query base on a table. I input details from a form based on the table. The report details are printed in what seems to be a random order from the form input. How can I get the report to print the details in the same order as on the form.
 
You need to sort the data in the report in the same order as it was entered onto the form - so perhaps you need something like an invisible autonumber field on the form, which you can then sort the data on in the report (again, you don't have to display it).

John
 
Reports use the Sorting and Grouping dialog to specify the order records are displayed in your report. Reports also have an Order By property but I never use it and don't recommend that others use it.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top