Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan ..Endscan how to use
Message
From
10/11/2004 03:12:04
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
 
To
09/11/2004 20:16:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00959824
Message ID:
00959876
Views:
6
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
Previous
Reply
Map
View

Click here to load this message in the networking platform