Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HACKING the FRX in an EXE
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01628280
Message ID:
01628285
Views:
78
Copy out to a temp file, modify andrun

>Hi Gang!
>
>My question today is.....
>
>I want to allow my users to DUPLEX the reports from the Report Writer if they wish.
>
>So, I wrote code that USES the reports FRX file, modify the EXPR field ( change the DUPLEX= value) and save it back to the FRX file.
>
>Then the report calls the modified FRX file to print. COOL.
>
>One catch.
>
>I didn't realize that my users DON'T have access to the report files at all ( they are in a REPORTS folder on my PC). When you build the EXE, the report files are pulled into the EXE, therefore my code blows big time when it tries to USE the FRX file, since it doesn't exist in the folder, but is build into the EXE.
>
>So, have any of you had this problem in modifying the FRX file for a report, without the report being on the USERS pc or Network?
>
>Thanks in advance!
>Tommy
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform