Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about REPLACE FOR in VFP6.0
Message
 
 
To
13/12/2000 20:38:27
Gavin Reid
L & M Marketing Pty Ltd
Frenchs Forest, Australia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00453190
Message ID:
00453192
Views:
16
Yes Replace For still locks the table. Use Update - SQL and each individual record will be locked as it is updated. No file lock.

HTH.

>Hi All,
>
> An App that I'm working on has a requirement to Merge Company and Contact Records. I was thinking of doing something like:
>
>
SELECT contacts
>
>REPLACE companyid WITH nNewCompanyId ;
>    FOR companyid = nOldCompanyId
>
>What I'm concerned with is that in FPW2.6 issuing a REPLACE with a FOR Clause would lock the Table ( Effectively that same as issuing an FLOCK() ), does anyone know if the same problem exists with VFP6.0? Any suggestions or different thoughts on ways to achieve the update would be appreciated.
>
>Thanks,
>Gavin...
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform