>> 2) This can also be a general question: Each time I issue a SET PRINTER
>> TO, an empty page gets sent to the printer. I don't know how to prevent
>> this. It's not a big issue, just a matter of convenience and some wasted
>> paper.
>>
>> HTH
>
>Haven't fiddled with reports in VFP yet (strange but true), but I
>remember that the older versions of FoxPro defaulted to PageEjectBefore
>when you design a new report. I did write a report wizard with different
>defaults (for FPD2.6) and for old reports I used a thing like this:
>
>* Proc Scanfrx
>n=adir(_c,'*.frx')
>for i=1 to n
> if file(strt(_c(i,1),".FRX",".FRT"))
> do it with _c(i,1)
> endif
>endf
>
>
>proc it
>para fajl
>sele 0
>use (fajl)
>?fajl
>go top
> repl EjectAfter with .t.;
> EjectBefor with .f.
>use in (fajl)
>retu
>
>Not sure if this will work in VFP, but that may be the approach.
Dragan,
That may work for a report, but this happens before I even identify a report. Before issuing a REPORT FORM, I issue a SET PRINTER TO NAME
myprintername. This sends a single page to
myprintername.
Matt
Matt McDonnell
...building a better mousetrap with moldy cheese...