CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Enable (add) the Postgresql ILIKE operator in the Database Designer and your project

Print topic Send  topic

Author Message

Posts: 6
Posted: 06/18/2018, 12:06 PM

Since it seems that we have to maintain the product alive ourselves...

1) Exit the CCS IDE. Go to CCS install folder -> Components -> File TypeLib.xml

Edit the file by inserting after line 138 the following text:
<Item value="IContains" name="contains (ilike '%...%')"/>

2) In your project, in the file Classes.php,

After the following text: define("opNotBetween", 18);

Add just below: define("opIContains", 19);

After the followin text:
case opBeginsWith:
$Result = $FieldName . " like '" . $SQLValue . "%'";

Add just below:
case opBeginsWith:
$Result = $FieldName . " ilike '" . $SQLValue . "%'";

And after the following text:
case opContains:
$Result = $FieldName . " like '%" . $SQLValue . "%'";

Add just below:
case opIContains:
$Result = $FieldName . " ilike '%" . $SQLValue . "%'";

Finally, look for the following text:

case opContains:
case opIsNull:

And replace with:

case opContains:
case opIContains:
case opIsNull:

You should now be able to use the ILIKE operator in the DB Designer and generate correct SQL code for your project.
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

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by  and YesSoftware, Inc.