CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Search on specific values

Print topic Send  topic

Author Message
David G
Posted: 11/13/2002, 3:54 PM

I'm evaluating CCS/ASP. I created a Search page with one control (search field)using the code builder. The search returns all records where the field contents BEGINS WITH the input value (e.g. enter "da" returns all records with names "dave, david, etc" How do I set the search parameter for the control to return only those records that have an exact match on the input value?
Thanks
xbill
Posted: 11/14/2002, 8:03 AM

The search function builds a front page
and then passes the string to a results grid
that has filters to show the requested records.

To change the results / filtering criteria-
go to the destination grid form.

On this grid- click on the three dots that are
next to the data source.

This brings up the search results grid.

Click on the filter rule that has a "contains like('%..')".
In the sql editor modify the rule to use the equals.

Re-Generate and then test the page.

-bill
David G
Posted: 11/14/2002, 5:00 PM

Bill,
Thank you....exactly what I was looking for.

   


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.