• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Concat values and Autosuggest

Guest
Aug 21, 2008 Aug 21, 2008

Copy link to clipboard

Copied

Hi,

I'm wondering if it is possible to send concat values from a query to autosuggest. So far I have been unsuccessful. Any ideas would be appreciated.

many thanks.
alex

Code from my cfc:

<cfquery name="addrQry" datasource="myDB">
select DIR+' '+STREET+' '+TYPE as myAddress
from myTbl
where UCase(myAddress) like Ucase('#ARGUMENTS.search1#%')
</cfquery>

<cfreturn ValueList(addrQry.myAddress)>
TOPICS
Advanced techniques

Views

247

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 21, 2008 Aug 21, 2008

Copy link to clipboard

Copied

You can't use a column alias in a where clause. Repeat the concatonation.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Aug 21, 2008 Aug 21, 2008

Copy link to clipboard

Copied

LATEST
Thanks.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation