Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cleaning up FRX file TAG2 fields
Message
From
19/02/2003 16:41:44
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00754983
Message ID:
00755215
Views:
12
>>I need to know the format of what goes in the TAG and TAG2 fields not just the table structure.
>>
>>Again, how do you create a FRX file with no printer specific information but preserve landscape orientation in FPW 2.5/2.6?
>
>Sorry ... I'm an old-timer enough to remember that there were tools (and articles) for hacking printer information in 2.x FRXs, but I don't know where you can find them today, if at all.
>
>Know anyone with a collection of very old Advisor and FoxTalk magazines?
>
>I just did a Google search on "foxpro hack frx". It came up with several matches for hacking VFP reports to remove the printer information (including Rick Schummer's excellent Project Hooks session), but nothing on FP 2.x.
>
>Am I doing a lousy job of encouraging you?

Well, I think I found something that works for now. My original symptom occured when I ran my FPW app on WinXP. When I tried to print a report I got an error saying that it couldn't find a particular file (which turned out to be related to a printer driver) but the report still printed. This file was referenced in the TAG field of the report in question. I recognized the symptom from my VFP apps and the solution of cleaning out the TAG and TAG2 fields. Unfortunately, I had a single landscape report such that cleaning out these fields caused it to revert back to portrait output.

My approach that seems to work for my specific case is to blank out the TAG field but leave the TAG2 field alone for the landscape report only. It removes the reference to the printer driver file but leaves the orientation data intact in TAG2.

Has anyone else tried this?
Larry Huisingh
Lockheed Martin Information Technology
Richland WA USA
Previous
Reply
Map
View

Click here to load this message in the networking platform