Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Probably already discussed, but which is more efficient.
Message
From
12/03/2007 12:06:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
12/03/2007 11:53:34
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Novell 6.x
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01202723
Message ID:
01202734
Views:
10
>in a network environment... APPEND BLANK & REPLACE vs. INSERT ?
>
>With the use of Append Blank, record locks are used. Are records automatically locked with INSERT?
>
>Curious to know.
>
>Thanks,
>
>Vernon

I found that using APPEND BLANK and REPLACE (in combination with buffering) is easier to control. After doing the changes, I can do a TableUpdate(), and if this fails, get error information with aerror(). I am not sure if I can get the same level of details with INSERT INTO, but perhaps it works, too.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform