Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to hide a table from user
Message
From
21/10/2003 07:36:22
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
20/10/2003 22:55:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00840532
Message ID:
00840596
Views:
22
>what is the better way to hide a table from my users?
>
>i tried "including" these tables in my project but i need to write to these tables so i get a "cannot update cursor".
>
>i do not want to simply hide the table by changing it's properties. can anyone help me?

Evelyn,
You could use dbc events (VFP7 and later). ie:
PROCEDURE dbc_BeforeOpenTable(cTableName)
If Upper(cTableName)=='EMPLOYEE'
  return Type("m.CanOpen")='L' and m.CanOpen
endif 
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