Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can Anybody Pls Help Me ??
Message
From
13/07/1999 03:09:54
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Can Anybody Pls Help Me ??
Miscellaneous
Thread ID:
00240611
Message ID:
00240611
Views:
51
I've posted this question more then 2-3 times but still didn't got any answer, with the last hope, I'm posting it again....

I want to get list of fields/labels in any particular report band (detail, title etc..). After getting replies from here and chking frx files structure and help at Eps site..

i made this routine to test it... But it is not working properly... Is anybody having any routine to get that or if somebody can advs. me why it is not working...

Pls Help..

********************************
* What this routine is doing ??
*
* 1. Going on the first Band Record
* 2. Starting a Counter which adds height of band in a variable upto * detail band (i.e. starting Range)
* 3. Total height is then added with height of detail band (which *gives the end range)
* 4. Then i'm checking what are the elements in these two ranges...


use imtr.frx in 0 Alias TestRep
Sele TestRep
Go Top

Local nStRange, nEndRange, nBand

nBand=4 && i.e. For Detail Band

Locate for ObjType = 9 && Locates 1st band record

Sum TestRep->height to nStRange ;
while ObjType = 9 and ObjCode <> nBand

nEndRange=nStRange+TestRep.Height

set filt to TestRep.VPos >= nStrange and ;
TestRep.VPos < nEndRange

go top

Disp all Expr
Next
Reply
Map
View

Click here to load this message in the networking platform