Printing report for current record

  • Thread starter Thread starter Linda
  • Start date Start date
L

Linda

My database manages applications. When an application is
approved, I would like to print my letters (set up as
reports) for the current record. I have a button in my
form for printing letters which currently links to a
queries for all records approved "today". However, there
have been several situations where I need to
print/reprint the reports a specific record. I cannot
figure out how to print for just the current record.

Any help would be very much appreciated!
 
I'm a bit confused by what your reports show/records are/where records are (on a form I assume)

If the problem is that the reports show all records, then you can filter on open of the report

Assuming that you are opening the report from a form (which is where your records are visible), you can have a button that says "Print Report for Current Record" - or something like that. In its event you can have something like this

DoCmd.OpenReport "rptLetters", acViewNormal, , "[ID] = " & Me.txtI

The last bit effectively puts a Where bit of SQL on your report's recordsource

I hope this helps, if not please give more info

Basi

----- Linda wrote: ----

My database manages applications. When an application is
approved, I would like to print my letters (set up as
reports) for the current record. I have a button in my
form for printing letters which currently links to a
queries for all records approved "today". However, there
have been several situations where I need to
print/reprint the reports a specific record. I cannot
figure out how to print for just the current record

Any help would be very much appreciated
 
Back
Top