Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Novice Needs a little help
Message
From
28/02/2011 00:15:44
 
 
To
27/02/2011 15:04:08
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP
Miscellaneous
Thread ID:
01502017
Message ID:
01502047
Views:
60
>
select ExcelCursor
>scan
>  select MyTable
>  locate for FIELD2 = ExcelCursor.Field2
>  if found()
>    replace FIELD1 with ExcelCursor.Field1
>  endif
>endscan
>
Thank you, Doug. That works and is simple enough for even me to understand. My only problem now is that my database has almost 900,000 records in it, and it looks like this is going to take a very long time to run. Are you willing to share your more efficient way of doing this?

Thanks for all your help.

Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform