General information
Category:
Reports & Report designer
Vinod,
What happens when you change SUM...WHILE to SUM...FOR?
Are you sure that your report records are all together?
>I posted a question yesterday for any way to get list of fields in any particular report band (detail, title etc..)
>
>After getting replied, i made this routine to test it... Its very surprising that its works perfectly on VFP 3 reports but not VFP 5...
>
>Is anybody aware abt. any internal changes done to the reports...
>Pls Help..
>
>********************************
>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
>
>brow
Previous
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