Hi all,
I got a bit of the problem here, I am doing zip code radius
and trying to return the results to a select box.
I want to display city, state, zip and distance in the select
box and that's where I get the problem.
So in my search page I got zip and radius field that bind to
a cfc that gets the data once those 2 fields are entered and
returns it to the select box (cfselect)
so in my cfc I have query that queries the original query in
order to combine the fields so I can bind it to the select box:
<cfquery ...>
select zipcode, (city + ', ' + state + ' - ' + zipcode +
distance ) as location,
</cfquery>
It''s not letting me mix my data with distance and giving me
error:
Query Of Queries runtime error.
Cannot mix types VARCHAR and DOUBLE in a + binary operation.
Anyone knows how to avoid this??????