Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan Endscan Problem VFP6 sp3
Message
From
11/01/2000 11:10:21
 
 
To
11/01/2000 09:43:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00315948
Message ID:
00316233
Views:
25
Actual this is how I fixed it according to Jim's Post

use invfl in 0 shared order orderno
use orderfl in 0 sharer order orderno

set relation to orderno into orderfl

sele invfl

Scan for shipdate=date() and empty(invfl.invno) and lines=1
lcCusnum=invfl.cuskey
lnOrdernum=invfl.orderno
lcCatkey=orderfl.catkey
If lcCatkey="CON" and orderfl.orderno=lnOrdernum
Replace hold with .T.
Wait window "Replaced Hold with True as Requested for Customer # "+lcCusnum at 15,115 timeout 0.75
Endif
Endscan

I remove the the while !eof() and the while statement that was with replace(). The replace while was what was moving my record pointer.

Thank you all for your replies.



>If I understand what you are doing, wouldn't this work?
>
>
>select orderfl
>Scan for lines=1and Catkey="CON"
> Replace invfl.hold with .T. for invfl.orderno = orderfl.orderno
> Wait window;
> "Replaced Hold with True as Requested for Customer # "+Cusnum;
> at 15,115 timeout 0.75
>Endscan
Previous
Reply
Map
View

Click here to load this message in the networking platform