Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Conversion of Dos report to VFP
Message
 
 
To
31/10/2004 23:21:01
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00956437
Message ID:
00956439
Views:
11
>Hello,
>
>Am writing a routine to convert a FpDos report to VFP format on the fly without using the VFP transporter, and do have Cathy Poutney's book... somewhere.
>
>I understand that the VPos of objects in VFP report file refers to the position in the designer and that Fox (both DOS and VFP) determines in which band an object is by determining where it is in the designer. FpDOS calls the first line = 0.
>
>So the first issue is getting the VFP designer band heights right. Can anyone help? I know the value includes the band separator which has a height of 1979.1666 (19 * 10000 / 96) and that all bands in designer have it except the first one. Do you know the formula? I guessed 1979.1666 + Lines in DosReportBand * pixels height of form font * 104.1666 (10000 / 96), but it doesn't jibe with a form converted by VFP. To make things easier, all fonts are 7pt Courier New in this report.
>
>Bands that don't contain an object still have a height of 1 in FpDos, but I am guessing that in VFP their Height is the height of the separator. Is that correct?

Alex,

Download FRX2Word -- Export Reports (3.11 - Sept 3, 2004) File #9707, study the source code and you'll find all you want to know.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform