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 -> PHP

 Table Parameter - expression iif

Print topic Send  topic

Author Message
rla

Posts: 18
Posted: 09/20/2007, 5:14 PM

I am trying to add another value to the search only if a URL parameter does have a value - if that URL parameter is blank I don't want to add this other value. The example here I am trying to see if the G url parameter is not null and passing "ALL" value into the search.


Groupx=".IIF(CCGetParam('G','')<>'',ALL,'')."

Fatal error: Call to undefined function: iif() in

Any thoughts on either how I can add the iif function or another method of adding the "ALL" only if the G - url parameter has a value?

thx

rla
View profile  Send private message
Benjamin Krajmalnik
Posted: 09/21/2007, 9:02 AM

if, not iif.


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.