CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Use of parenthesis in custom update tool

Print topic Send  topic

Author Message
Gene

Posts: 14
Posted: 06/01/2005, 7:52 AM

I'm sure this is really simple, but I can't get it to work.

In the builders, there are specific controls that implement parenthesis to dictate order of precedence. This is not the case with the custom update tool, however.

Can someone explain how this is accomplished using the custom update tool? Specifically, I need to construct an OR clause that tests the state of a session variable along with the value returned by a function.

If
(some conditions)
...
AND
(UserID=CCGetUserID() OR CCGetGroupID() >=100)

I have tried using one long expression, encased in double quotes (executes but fails to update), as well as without double quotes (syntax error in SQL).

Thanks much.

Gene
View profile  Send private message
Gene

Posts: 14
Posted: 06/01/2005, 11:36 AM

Nevermind.

I just coded it directly into the 'before build update' event using the datasource where object.

Simple enough.

Thanks anyway.
View profile  Send private message

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.

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.