Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Network:
Windows 2008 Server
>Is it possible to have one particular DBF default to open Shared, but have all of the others default to opening Exclusive? In other words, if I forget to type "SHARED" after
>USE ThisDBF.DBF
>
>it would still open Shared, but all of my other DBF's would open Exclsuive if I type
>USE OtherDBF.DBF
>
>without typing "EXCLUSIVE"?
>
If it's in a DBC, you might be able to do something with the BeforeOpenTable and AfterOpenTable events. Maybe SET EXCL OFF in Before... and ON in After... You'll have to check that it's the table you're interested in.
Tamar
Précédent
Suivant
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