General information
Category:
Forms & Form designer
>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only