CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Message with form

Print topic Send  topic

Author Message
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
View profile  Send private message
MUHD FAUZI
Posted: 11/24/2004, 1:44 AM

thanks for the suggestion

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.