Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Know if a table or database is in use
Message
From
20/06/2003 09:45:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
20/06/2003 06:54:15
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00802124
Message ID:
00802181
Views:
16
>Hi.
>I have a table that could be updated by
>more than one diferent application in
>diferents client computers. Question:
>Is there a way to know if an application
>is using a table or database before
>you open it in another application?

I think you should program for shared access (SET EXCLUSIVE OFF), and use optimistic buffering. In this case, more than one person or application can access the table at the same time.

Possible conflicts would happen at the record-level. See my article on buffering, if these details are new for you (http://www.levelextreme.com/Magazine/July2002/Page6.asp).

HTH,

Hilmar.
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
Reply
Map
View

Click here to load this message in the networking platform