Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Balance per line
Message
De
08/07/2007 18:54:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
08/07/2007 05:11:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01238446
Message ID:
01238488
Vues:
7
>Hi
>
>My client want's a table with income / expense / balance columns.
>Each row, the user will be able to insert OR income amount OR expense amount, and the readonly balance column will show the total balance in each row.
>
>My clieant plan to use with small list (few hundreds), so I prefere to forgive on the balance column and to manipulate it manually by grid/report.
use dbf("YourCursor") again alias crsTotal in 0
select crsTotal
nTotal=0
scan
   nTotal=nTotal+Credit-Debit
   replace totalcolumn with nTotal
endscan
use
** do this before you refresh the grid

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform