Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing report resource table...
Message
 
 
To
19/09/2001 12:13:46
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00558389
Message ID:
00558400
Views:
17
>I'm accessing the report resource table (use somereport.frx) just before printing in order to set the vertical lines to match the column separators in the form grid. In order to do this, I have to exclude the report from the executable because it won't let me update the cursor which is read only. For security reasons, I'm not comfortable with this. Is there any way around it?

Lucien,
One way would be to include the report file in your executable and use it as a template. Use StrToFile() to copy the FRX/FRT files to a temporary report, use it as a table and change the necessary information, close it and use the new temp report in your report form command.

The temporary report exists for the length of the process and that's it. You still have the original report read-only embedded in your EXE.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform