Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Suppress printing of fields in the page footer
Message
From
11/05/2010 03:31:32
 
 
To
11/05/2010 01:29:32
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01463915
Message ID:
01464113
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform