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

  lookup sql question

Print topic Send  topic

Author Message
Dave
Posted: 07/02/2002, 9:05 AM

Hi

I had a site published in php/mysql which included the following lookup sql in field properties:

select school_id, concat(school, ', ', local_area) as school_details from srstable order by school

However, I had to change the site to Access/Coldfusion and now this does not work. The message I get is

[Microsoft][ODBC Microsoft Access Driver] Undefined function 'concat' in expression

I do not know what to replace concat with.

Can anyone put me straight please?

Thanks

Dave S

PS swapping the data from mysql to Access was lengthy, but swapping from php to Coldfusion was the work of a few seconds using CC. Absolutely superb for someone like me who's still only a little way along their learning curve.
Chris K.
Posted: 07/02/2002, 9:27 AM

Use following query intead:

select school_id, school & ', ' & local_area as school_details from srstable order by school

& is JET's concatenation operator
Dave
Posted: 07/09/2002, 9:46 AM

works now - thanks very much

   


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.