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

 Ajax Drill Down

Print topic Send  topic

Author Message
moodog


Posts: 26
Posted: 02/22/2008, 4:59 PM

I added a Ajax service on my search record field.. super easy with the Service Builder...

Works great if you type the first character or first few to list records.. what I would like it to do is search anywhere in the field specified..

if data is.. "US CH Tykabul" as is if I enter "U" that entry pops up to select.

I would like it to work if I type in "Tyk" and all entries with TYK in the name pop up...

example of what should come up would be
US CH Tykabul Vantage Point
Tykabul Will Be there
Hi-Impact's Rushing Tykabul

as it is Tykabul Will Be there would come up when Im searching for US CH Tykabul Vantage Point

I guess I could always remove it.. its just fancy at this point as Im still populating the list.
But it would be good to know for future projects where the record comes up and not a list.

cheers...



_________________

-Rich

http://staffordarchive.com


CCS 4.0
MySQL
PHP
View profile  Send private message
RonB

Posts: 228
Posted: 02/25/2008, 3:54 AM

go to the service page and position the cursor in the begin or end record part on the page. In the properties box you can now access the record and change the search parameter. Set it to containing instead of begins with and you have what you want.

Ron
View profile  Send private message
moodog


Posts: 26
Posted: 02/25/2008, 7:47 AM

THANKS... I could not find the property so easy like you said, but because you said it was there I found it in the code and changed it... perfect.. thanks.


_________________

-Rich

http://staffordarchive.com


CCS 4.0
MySQL
PHP
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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