Information générale
Catégorie:
Codage, syntaxe et commandes
Hi Nadya,
*Therefore I have to find, if file is already in use, and if it's, is it *exclusive access or non-exclusive. If file is used exclusevely, does it mean, *that it could not be opened even in shared mode on another computer?
- You couldn't open this database.
*If it's true, each use function should be surrounded with quite long piece of *code...
- I had written function with all this long code for open database. But good rule - don't give anybody open exclusively like administrator. You can use password access for it. I think this is administratives' problem.
For check can I open it or no - I used next:
- turn off error tracing
- try open datebase by exclusively
- if it not open - somebody has opened it
For checking if somebody had opened it - one way in your application (if your customer have not advanced user) - make small database with flags that some databases have been opened. And you can check it in your applications. You must be cheif.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement