Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan Misbehavior
Message
 
 
À
05/05/2008 10:53:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01315117
Message ID:
01315122
Vues:
24
>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
Jim,

What is the current order for the curRedemptions? If it's BondKy you'll see the behavior you're describing.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform