General information
Category:
Reports & Report designer
Title:
Can Anybody Pls Help Me ??
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only