Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Conversion of Dos report to VFP
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?
TIA,
Alex
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement