Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making a forms data ReadOnly
Message
De
09/05/1997 16:56:38
 
 
À
09/05/1997 16:47:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00031581
Message ID:
00031598
Vues:
49
>>>>I have a form that I would like to make the data readonly for one particular user. I would like to pass
>>>>a parameter to the form from a menu like
>>>>"DO FORM myForm WITH .T." and set the cursors in the
>>>>dataenvironment ReadOnly Property to .T. any Ideas as
>>>>where to put this kind of parm. or Is there a better way?
>>>>
>>>>Thanks
>>>>Jon Wilshusen
>>>
>>>You can put that snippet in a Stored Procedure under the database. Then
>>>have your Insert, Update and Delete triggers check for a user-authority reference in another table to see if that person has rights. That will allow for growth into a true security module, instead of: "OK, except for Jane!"
>>
>>I could give this a whirl, Now remember I haven't been programming very long, But I am starting to enjoy it.
>
>It seems tough but it's not. Check out the TasTrader example for a quick start.
>One thing to remember is that all the stored procedures for a database will end up in a single place even though you have separate listings under the Stored Procedures heading. When you get more than one in there, open it back up and you'll see what I mean.

Bill,
(I can call ya Bill, can't I?)
I'll give a look see at the TasTrader example, to often times I forget their is actually some pretty good stuff in there. (the examples that is) As I was reminded on this forum before :)
Thanks
Jon
Non-MVP Non-MCP Non-MCSE

Visual FoxPro, What else is there?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform