Information générale
Catégorie:
Gestionnaire de rapports & Rapports
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement