Printing Orders

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am playing around with a simple database, the purpose of which is to input
order details in a form and then print the order in question as a report.

I have designed the report to accept the order details, but am unable to
write a macro which takes me to the report in question for printing, rather
than the first report.

I would appreciate any help in resolving this issue.

gillj
 
Gill,
Each of your Orders records should have their own unique key field identifier. Use
that value in the query behind the report to filter your report for just the specific
record you want. Like an OrderID...
I have designed the report to accept the order details, but am unable to
write a macro which takes me to the report in question for printing, rather
than the first report.

I think you mean your printing the first Order record (and probably all of them too),
instead of just the one you were viewing, when the report was requested.
 
If you right-click in the query that you created the report from and then
click 'Totals' you get an extra combo box which will give you the opton for
the last record. However, this will only ever print the most recent record.

It might be better to have a button on the form that will print the current
record in the report. That way, you can click it when you create a record and
then click it again if you ever need to reprint a record.
 

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

Similar Threads


Back
Top