That works well with VFP, but they EXPR field is empty to start with in a FPW 2.6 report. I tried this and it doesn't seem to honor the setting. Even compared a copy of the report with one portrait and one landscape and the only thing that differs is the number of blanks in the .frt files, according to Windiff.exe
Thanks, will try to figure it out some more.....
Tom
>>How do you clear the default printer settings in FPW 2.6 report tables, while still retaining the Landscape/Portrait orientation of the report?
>>
>>TIA
>
>Something like:
>
>USE myreport.frx
>lDefaultOrientation = IIF("ORIENTATION=1" $ myreport.expr, .f., .t.)
>REPLACE ;
>EXPR WITH IIF(lDefaultOrientation,"ORIENTATION=0", "ORIENTATION=1" ),;
>TAG with "", ;
>TAG2 with ""
Tom
Life happens, don't blink.