CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Search with OR

Print topic Send  topic

Author Message
marc
Posted: 08/04/2001, 3:43 AM

i'm trying to create a grid with SEARCH form with two fields (OR) and i get
a form with only the first field

is it a bug or something wrong in my code?

Walker P.
Posted: 08/04/2001, 12:04 PM

When you use the 'OR' option when creating a search using the wizard, the
resultant form has only one field into which you can enter search criteria
for the fields to be OR'ed. If you want to have a field for all the columns
used in the OR, create the search using the 'AND' operator or manually then
in the 'Open' event of the grid form, enter code to swap 'AND' with 'OR'

example ASP code:
sWhere = replace (sWhere, "AND", "OR")

Walker P.
CC Support



   


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.