Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alias name
Message
 
To
27/07/1999 09:29:14
Jolene Dicks
Human Resources Development Canada
St. John's, Newfoundland, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00246542
Message ID:
00246598
Views:
12
Jolene,

You don't need to intialize x. The code below will do what you want.
For x= 1 to Alen(Afieldnames)
     CAField = "A." + Allt(Afieldnames[x])
     CBField = "B." + Allt(Afieldnames[x])
     If EVALUATE(CAField) != EVALUATE(CBField)
          Replace (CAField) with EVALUATE(CBField)
     Endif
Next
Previous
Reply
Map
View

Click here to load this message in the networking platform