>My report is designed for "landscape orientation". When I run the compiled report from my workstation, everything is ok. But when I run the same report from another workstation, the report appears in "portrait orientation" in the preview window. Someone can explain to me why? And how can I program the settings of my report? Thank you!
What I do to preserve the report formatting is to issue:
lcResource=SET('RESOURCE')
lcName=SET('RESOURCE',1)
SET RESOURCE TO PRINTP
... do report
SET RESOURCE OFF
IF lcResource='ON'
SET RESOURCE TO &lcName
ENDIF
where PRINTP is any name that you would like to get to your resource file. So, you can run it from everywhere and that resource file will be grabbed for the specific report.
Note that this is an approach which I have been using for years. There might be something simpler right now.