ReportToPDF - Leban's Method

S

Scuda

First off many thansk to Stephen for this great, and free piece of work. My
problem is twofold:

1) When I print reports from this particular DB, I open only the LAST
report. IE: from my form I have a button for Preview Report, when it does,
it only brings up the Current (or Last) record for printing. Can I achieve
this with Leban's method also?

This is my code on the Preview report button:
Me.Refresh ' this forces a disk write
DoCmd.OpenReport "rpt_Actsus_Req_Sheet_FLARE", acViewPreview, , "IncidentID
= " & Me!IncidentID


2) Can I create an OnClick button from my form to create a .pdf in the
fashion I stated above?

Thanks so much,
Steph
 
R

rafael

Scuda said:
First off many thansk to Stephen for this great, and free piece of work.
My
problem is twofold:

1) When I print reports from this particular DB, I open only the LAST
report. IE: from my form I have a button for Preview Report, when it
does,
it only brings up the Current (or Last) record for printing. Can I
achieve
this with Leban's method also?

This is my code on the Preview report button:
Me.Refresh ' this forces a disk write
DoCmd.OpenReport "rpt_Actsus_Req_Sheet_FLARE", acViewPreview, ,
"IncidentID
= " & Me!IncidentID


2) Can I create an OnClick button from my form to create a .pdf in the
fashion I stated above?

Thanks so much,
Steph
 

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