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

 AutoComplete and AutoFill

Print topic Send  topic

Author Message
Nitedula


Posts: 22
Posted: 04/25/2008, 2:16 AM

Hi,
I use AJAX Feature AutoComplete on a field:
"... where cmp_name like %s_cmp_name% OR fcy_name like %s_cmp_name%"

and display {cmp_name}-{fcy_name} in the AJAX div - there this value is displayed in the text box also.

now I'd like to run an AutoFill Feature depending on this text box:

I do
"SELECT concat(cmp_name,'-',fcy_name) AS full_name
FROM facility LEFT JOIN company ON
facility.cmp_id = company.cmp_id
WHERE full_name LIKE '%{keyword}%' "

but the AutoFill does NOT work

has anybody an Idea how to solve this - I see two possibilities:

#1 display the desired Values in the AutoComplete DIV, but do NOT fill in all the Values into the text box
#2 compare the full value ("full_name") like i try with the concat(...) command

help would be much appreciated
Nitedula
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.

MS Access to Web

Convert MS Access to Web.
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.