General information
Title:
Error Trapping an Open Table
I am having trouble figuring out how to trap an error that is
produced if someone else has a table open when I am trying to open it
exclusively inside a program .
In my program I want it to let the current user know he can't do a
specific operation, update and pack a table, because someone else
is in the table.
When I run it at present I get the standard error message box
with the choice to cancel, ignore or help. A wait window would work
stating that some else is in the table and this operation will now
cancel but any 'ON ERROR' procedure I've made won't catch it
because the program errors on
SET EXCLUSIVE ON
Select 0
USE openjobs Order 1
Any suggestions?
Thanks in advance
Next
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