Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert into
Message
From
18/06/2007 11:03:45
 
 
To
18/06/2007 10:59:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01233950
Message ID:
01233954
Views:
11
>According to the help: "If the table you specify isn't open, it is opened exclusively in a new work area..." The emphasis is mine.
>
>I hadn't noticed this before (I use APPEND BLANK + buffering most of the time); but now I ask: wouldn't this be problematic for multiuser applications?
>
>Is this behavior still so in later versions of VFP?
>
>Must the programmer always include something like the following?
>
>
>if not used("MyTable")
>  use MyTable again in 0
>endif
>insert into MyTable...
>
Imho, opening a table is a good practice for all cases. Btw, my VFP9 help says nothing about exclusive opening. Most likely, it depends on SET EXCLUSIVE setting.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform