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

 check_security() based on value of other fields

Print topic Send  topic

Author Message
Robert
Posted: 11/21/2003, 4:39 PM

Using CC v2.0.5, php, mysql:
I am trying to do the check_security() based on the value of a grid form field. Just to give an idea (this does not work) this sorta explains what I am trying to acomplish: I have a Grid Form, "Before Show":
///

if ($fld_this_particular_record_requires_registration_to_view == 1)
check_security();
else
$custom_label="grid form will show it's results here if the above is not= 1";

///
Thanks to whoever can lend a hand!
Nicole
Posted: 11/22/2003, 5:37 AM

Robert,
In CC you can replace the field’s value with the empty one or default instead the real value of the field. Your approach looks correct to me. The only note is the parameter for check_security() function. Usually 1, 2 or 3 are passed corresponding to CC security levels: Low, Medium, High

   


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.