CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Hide/Show forms

Print topic Send  topic

Author Message
Paul
Posted: 03/26/2002, 2:16 AM

If i would like to hide a menu form on an admin page depending on whether their UserRights are high enough is this correct?

if Session("UserRights")=20 then
SetVar "Administration",""
exit sub
end if

I only want this form visable if the user has UserRights of 20....

Thanks in advance
Alex Alexapolsky
Posted: 03/26/2002, 2:36 AM

if NOT Session("UserRights")=20 then
cornwell
Posted: 03/26/2002, 12:33 PM

You need to say...

...
SetVar "FormAdministration",""

The prefix 'Form' is required

   


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.