Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Very slow grid!
Message
De
10/05/1997 06:20:15
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
10/05/1997 00:48:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00031451
Message ID:
00031661
Vues:
29
>>>---------------
>>>SELECT TRANSACT
>>>nRetRec = RECNO()
>>>nTotRec = RECCOUNT()
>>>nCount = 0
>>>GO TOP
>>>nBalance = 559.14
>>>* BROWSE
>>>SCAN
>>> nBalance = nBalance + TrCredit - TrDebit
>>> nCount = nCount + 1
>>> @ 05,02 say nCount
>>> REPLACE ACCTBAL WITH nBalance
>>>ENDSCAN
>>>GOTO nRetRec
>>>* BROWSE
>>
>>Use Select sql statement instead of this loop
>
>Could you give me an example of what the SELECT statement
>would look like?
>
>Thanks in advance

Try this to transfer output in cursor

select nBalance + TrCredit - TrDebit as balfield from transact ;
into cursor balcur

select nBalance + TrCredit - TrDebit as balfield from transact ;
into array balarr
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform