VFP lets you open tables and databases EXCLUSIVE or SHARED
you can SET EXCLUSIVE ON/OFF to determine the default way fox will open file
you can also set this for any individual table you open
Arnon
>Hello!
>
>I'm a begginer user of VFP 5.0 and I have one problem:
>
>How do you control the opening of the .DBF's file in your applications
running under Network?
>
>In my class FORMBASE (AS form), I had set the autoOpenTable and
autoCloseTable to false.
>In the Init method of FORMBASE I called THISFORM.dataenvironment.opentables
>
>The table (customer.DBF) was opened by another user with EXCLUSIVE. The VFP
produce an error 1705 (Access to Table Denied). I intercepted the error in
Error Event of FORMBASE, then I called THISFORM.release/THISFORM.unload to
abort the execution of FORM.
>
>The problem is the system return to next line of the FORM.init instead
close the form.
>
>Thanks a lot,
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only