Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan ..Endscan how to use
Message
De
10/11/2004 03:12:04
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
À
09/11/2004 20:16:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00959824
Message ID:
00959876
Vues:
8
Hi Paul,

Select State
Go Top
SCAN
Locate For ccRegion.Reg_Code = State.Reg_Code
If !Found()
Append Blank
Replace ccRegion.Reg_Code With Left(State.Reg_Code,3)
=TableUpdate(.T., .T., "ccRegion")
EndIf
SELECT State && This isnt necesarily required but I tend to put it by habbit
ENDSCAN

Sergey's answer is probably more efficient though.

HTH

Jon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform