Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Keeping my tables away from prying eyes
Message
From
04/07/2003 06:01:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/07/2003 04:30:11
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00806884
Message ID:
00806905
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform