General information
Category:
Reports & Report designer
Pls note that if u open the frx file with the browse command and just do a manual total then also its clearly visible that vpos values generated for repfield are much higher....
i have run this routine on more then 3 reports but the result is same...
This routine returns right values for band 1 i.e. page header but not for details band...
I've already spend more then 48 hours on this problem with no result...
do u have any idea abt. it ??
>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
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