Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Keeping my tables away from prying eyes
Message
De
04/07/2003 06:01:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/07/2003 04:30:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00806884
Message ID:
00806905
Vues:
19
>if i have a database and tables stored in a folder how can i prevent any body from doing a simple thing like
>
>use (table name)
>browse
>
>or something similar

If all you want is that simple then use DBC events. Enable the events and create a simple procedure. ie :

-open data testdata
-modi data and right click, select properties, set events on
-Dblclick OpenData to get code window
-Enter some code
PROCEDURE dbc_OpenData(cDatabaseName, lExclusive, lNoupdate, lValidate)
return type('m.WhoIsIt')='C' and m.WhoIsIt == 'MASTER'
endproc
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform