If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Printing report for current record
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! |
#2
|
|||
|
|||
Printing report for current record
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.txtID 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. Basil ----- 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! |
Thread Tools | |
Display Modes | |
|
|