I believe in the first record you can put
REPLACE expr WITH expr + chr(13) + "ORIENTATION=1"
for landscape and
REPLACE expr WITH expr + chr(13) + "ORIENTATION=0"
for portrait.
Take care,
Joe
>I have been playing around with Doug Hennig's classes (SFREPOBJ.vcx) that provide a way to programmatically create reports. I would like to be able to specify whether a report prints in the landscape or portrait mode but have been unable to do this so far. If anyone has any experience with this class and knows how to do this your help would be greatly appreciated.
>
>Thanks in advance for your help,
>
>Russell Clendenon
Joseph C. Kempel
Systems Analyst/Programmer
JNC