Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to put running balance in local view?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00212879
Message ID:
00213216
Vues:
32
>I usually do not setup the view for it - I put the code like this into textbox.Refresh()
>
>LOCAL array laTotal[1]
>laTotal[1] = 0
>SELECT SUM(amount) FROM myView as Total
>INTO array laTotal
>this.value = laTotal[1]
>
>Just my 0.02c CDN :)
>
>Nick

Nick, I need a running total on the right side of my detail grid. I already have code nearly identical to yours to calculate the final total in a method called GetAITEMS(). Am I missing something here?

Peter
Peter Robinson ** Rodes Design ** Virginia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform