Re: VFP Functions that Require EXCLUSIVE

Author: Fred Taylor

Posted: 2013-03-15 at 18:04:35

Note that the INSERT is not the SQL - INSERT type of command. It's the old

x-base command that requires exclusive access.

Fred

On Fri, Mar 15, 2013 at 3:23 PM, Jeff Johnson <jeff@san-dc.com> wrote:

> Thank you everyone!

>

> ON

>

> (The default for the global data session.) Limits accessibility of a

> table opened on a network to the user who opened it. The table isn't

> accessible to other users on the network. Unlike FLOCK( ), SET

> EXCLUSIVE ON also prevents all other users from having read-only

> access. A file can also be opened on a network for exclusive use by

> including the EXCLUSIVE clause with the USE command. It isn't

> necessary to perform record or file locking on a table opened for

> exclusive use.

>

> Opening a table for exclusive use ensures that the file can't be

> changed by other users. For some commands, execution isn't possible

> until a table is opened for exclusive use. These commands are

> INSERT, INSERT BLANK, MODIFY STRUCTURE, PACK, REINDEX, and ZAP.

>

>

>

> Jeff

>

> ---------------

>

> Jeff Johnson

> jeff@san-dc.com

> (623) 582-0323

>

> www.san-dc.com

> www.arelationshipmanager.com

>

> On 03/15/2013 01:27 PM, Dan Covill wrote:

>

>> There's one in the Help under SET EXCLUSIVE.

>>

>> Dan

>>

>> On 03/15/13 11:25 AM, Jeff Johnson wrote:

>>

>>> I went looking for a list of VFP functions that require exclusive access

>>> to the table or database and could not find one. Is there such an

>>> animal?

>>>

>>>

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAJCBksq-M+Ri6ZHtjKAnApjJjaqU4QqFXE_eyMVEJbj_rCkuxg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2013 Fred Taylor