Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gathering data for reports
Message
De
07/12/1999 17:12:08
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
 
 
À
07/12/1999 16:35:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00299994
Message ID:
00300038
Vues:
47
Mike,
I've got a report that i'm listing the totals of the records that have certain criteria (given by the user). That part prints fine, but at the bottom, I also need these totals totaled. That is what the code is supposed to do.

The error is that "the variable 'total' could not be found". total is actually a cursorname, and it's the records in 'total' that I need summed and used in my report.

>Hi Jimmy,
>
>>What's wrong with this statement?
>
>First you've got to tell us what is happening and what should happen. Errors? One guess could be that "siz = pcValue" size is spellt wrong. Also try adding the alias to siz and alltrim pcValue before hand.
>
>>I'm trying to gather all data in the field data1.total, sum it, give it a variable reference, and use it in a report.
>
>Variable note: You don't need these as public variables. Private or even Local will work.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform