Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table security
Message
De
20/05/2003 09:20:29
 
 
À
20/05/2003 06:48:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00790261
Message ID:
00790401
Vues:
14
If the table is in a database, then yes. If it is a free table then, I dont know of a way.

If the table is in a database, you can specify an update trigger. if that trigger returns .t. then the table can be updated, otherwise it will not be updated. If you wanted the user to be prompted with a dialog box to enter a password or something, you would probably have to put that code inside a stored procedure.

I have a simpler version here. I have a field called mytable.locked
update trigger is set to !(mytable.locked) where locked is a logicial.

so if locked=.t. then the table can not be updated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform