Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Landscape Orientation Programmatically?
Message
From
16/04/1998 12:54:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
16/04/1998 08:45:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00092457
Message ID:
00092586
Views:
30
>Greetings!
>
>In one of my apps the user selects the destination printer via REPORT FORM...PROMPT. Is there a way to have the reports obey the orientation selection from that dialog? The reports are linked into the EXE, so I imagine that hacking the frx could be tricky.
...Prompt clause provides a way to set properties for the printer. Also you could do a trick to modify frx at runtime :
lcFilename = "R"+sys(2015)
copy file myreport.fr* to (lcFilename+".fr*")      && Myreport.frx in exe
use (lcFilename+".frx")  * modify lcFilename.frx
...
use
report form (lcFilename) ...
erase (lcFilename+".fr*")
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform