Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Exclusive use of table
Message
From
17/05/2001 00:59:35
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Exclusive use of table
Miscellaneous
Thread ID:
00508197
Message ID:
00508197
Views:
64
I wanan update the content of a table in my program, before saving of course I have to check if any other is using the table, so i tried to use the example from MSDN about IsExclusive..

my program:
1: set exclusive off
2: open in 0 exclusive
3: if IsExclusive() then
4: **do the updates here**
5: else
6: **prompt error message**
7: endif

To test the program, I open the database exclusively in another program, and then run the above code. A "access denied" message pops up at line 2.

So what should I do, if I wanna ensure there's no one using the table, and then update it?

Thanks for any help in advance!
error(503): file structure failure, signature file corrupted.
Next
Reply
Map
View

Click here to load this message in the networking platform