Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Key Fields and Rushmore
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00261167
Message ID:
00261562
Views:
22
Keith,

In old versions of FoxPro (or this may go all the way back to FoxBase) the kind of commands you're talking about would cause a problem. VFP handles it fine. You shouldn't have any problem.

>Can I use an optimizable query string to change
>a key field or am I asking for trouble?
>
>I'm looking at trying a statement something like:
>
>
>REPLACE ALL PKey ;
>    WITH XRef.NewPKey ;
>    FOR PKey = XRef.OldPKey
>
>- or possibly -
>
>UPDATE TABLE Cust ;
>    SET PKey = XRef.NewPKey ;
>    WHERE PKey = XRef.OldPKey
>
>
>I know that this kinda thing can hose a SCAN
>loop.
>
>Anyone have any experiences with this?
>
> ...kt
Previous
Reply
Map
View

Click here to load this message in the networking platform