Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very slow grid!
Message
From
10/05/1997 06:20:15
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00031451
Message ID:
00031661
Views:
31
>>>---------------
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform