CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Grid & Edit Do I have to also make a Grid & Displ

Print topic Send  topic

Author Message
DeWebDude
Posted: 10/24/2002, 11:24 PM

When I create a Grid & Edit form it's basically a search, and then Add/Edit/Delete, but usually there are 2 sides to a web site the management side, and the user side, so I also make a Drid & Edit, but disable the Add/Edit/Delete options so I am creating the exact same forms for both.
My question is, is that the only way to do it -or- is there a secret to easily have the management side options not show up on the display side and share the common function? ( I do not want the insert button to show up, and when they click it have to type a password type of thing)

Using CodeCharge ( not Studio )
Hope this makes sense...

Thanks!
Nicole
Posted: 10/28/2002, 6:27 AM

Hello,
in CC the easiest way is to create separate forms(or even pages) for admins and the rest users.
But if you're using template version you can hide the "Insert" button depending on user rights. Create form before show event like:
ASP
SetVar "FormNameInsert" , ""

PHP
$Tpl->SetVar("FormNameInsert", "");

   


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

MS Access to Web

Convert MS Access to Web.
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.