Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Suppress printing of fields in the page footer
Message
 
 
À
11/05/2010 01:29:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 7 SP1
Divers
Thread ID:
01463915
Message ID:
01464113
Vues:
24
Agnes

I see. That is interesting. I wondered how the FRX worked it out. Didn't guess that it was based on the position.

Naomi suggested I use flags, which might be easier.

Thanks for your idea.

Cyril





>Cyril,
>
>it was just out of the hip.
>
>A closer look the table reveals that the bands are piled by height.
>
>The OBJTYPE=9 records are ordered by there position so the topmost in the file is the topmost in the report.
>
>So you need something like
>
>lntop = 0
>scan for OBJTYPE=9 and objcode#7
> lnTop = lntop+height
>endscan
>
>locate for OBJTYPE=9 and objcode=7
>lnbottom = lntop+height
>
>Note the real boundaries are a bit larger
>
>UPDATE Cur1 SET;
> supexpr = ".F.";
> from somefrx AS Cur1;
> WHERE Cur1.vpos between lntop and lnbottom
>
>
>Agnes
>>You are saying that the VPOS field can be used to determine which band the report field is in.
>>
>>I don't see how to do this. The VPOS for the report bands records are empty.
>>E.g: if I browse the FRX, and go to the record:
>>
OBJTYPE=9 and Cur2_1.objcode=7
>>the VPOS is empty. So that cannot be used to determine the report footer fields.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform