muhd fauzi
|
| Posted: 11/24/2004, 12:11 AM |
|
In a normal form, we put validation in in onvalidate event and adderror message.
But in this form some user has authorization to view but cannot update the data. I manage to disable the delete/update button but I need to put message 'Delete/Update is not authorize' depending on the specific condition of data.
Any suggestion on how to do this is appreciated,
thanks
|
|
|
 |
mrachow
Posts: 509
|
| Posted: 11/24/2004, 1:10 AM |
|
Two suggestions for event Before Show.
You can place a Label control and a textbox control on every place for data and tie both to the same database column. Then show labels and hide textboxes or vice versa.
Or using entry fields only you can place a Label control above. For a full equipped user empty it and in the other case say somethink like: "You do not have the right to change data. Your changes will not taken into account".
Kindly regards,
Michael
_________________
Best regards,
Michael |
 |
 |
MUHD FAUZI
|
| Posted: 11/24/2004, 1:44 AM |
|
thanks for the suggestion
|
|
|
 |
|