Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan Misbehavior
Message
From
05/05/2008 10:53:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Scan Misbehavior
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01315117
Message ID:
01315117
Views:
52
The following code is simple and straighforward, but when I do the replace statement, the last record in cursor is updated instead of the first, and the scan terminates. I've never seen this before. Any clues?

Scan
lcProject = Alltrim(Project)
If Seek(lcProject, "bond", "proj")
liBond = bond.ky
Replace bondky With liBond In curRedemptions
Endif
Endscan
Next
Reply
Map
View

Click here to load this message in the networking platform