General information
Category:
Coding, syntax & commands
Nadya:
>
Suppose, I have a table open shared. I want to open it shared at another user station. How can I check, what this table is not opened exclusively already? Fopen() always returns -1 regardless of the second parameter. Do I really need to use Error Handler here or there is another way?
>
Why not write a custom class wrapper for the use command and trap the error there? For example, the class could have an Exclusive property and a Use method. If Use raises an error code 3 when Exclusive is False, you then know the file is used exclusively by another user.
Daniel
Previous
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