Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Balance per line
Message
De
08/07/2007 13:46:16
 
 
À
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:
01238467
Vues:
9
Chaim,
I would select yourTable into a cursor with an extra field nResult N(10,2) set the cursor to the datetime field order or field id order - your option , create 2 variables lnIncome N(10,2) and lnExpense, scan /endscan the cursor updating the nResult field.
A test with a table with 400 records on my pc 0.031 sec
Please report back if this is what you are after.
Please note there is also a SQL statement possible to achieve this runningbalance but I am not sure this works on VFP8.

Shalom

Koen
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform