>hi, i am using the following code to preview and thereafter print the report.
>
>REPORT FORM myreport TO PRINTER PROMPT PREVIEW
>
>My problem is after launching the print dialog screen, it does not allow me to go back to report preview. I have to click the Cancel button and re-run the report. Any suggestion to overcome the problem.
>
>Thanks.
Well there's nothing to stop you having the following code:
REPORT FORM myreport TO PRINTER PROMPT PREVIEW
REPORT FORM myreport PREVIEW
or having a separate PREVIEW button.
Now,if you use SQL to get a cursor for the rpt, there's no need to run the code again.
Similarly, even if you use, say, a filter, to get the data for the rpt.
I don't see what the problem is.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.