Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Question about the report writer.
Message
De
11/01/2001 11:30:47
 
 
À
10/01/2001 17:11:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00461947
Message ID:
00462283
Vues:
12
>>In my detail band I have to accumulate a fld value each time it loops through a record. On the group break I need to display the accumulated fld value and zero it out to start again on the next group of records..
>>The problem is, I need to do this logic in the report writer. Any ideas?
>>In code, I would do something like this:
>>Do while !eof()
>>Final_number = final_number + fld_value
>>Skip
>>Enddo
>>?final_number
>
>Try something like.....
>
>Put a field in the Group Footer
>Have the expression for that field be the same as for the field you want summed
>In the CALCULATIONS for this field check SUM
>Make sure the Reset value is set to the proper Group Break
>
>........Rich
-------
ok thanks, I will try it...:))
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform