close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Invalid CFML construct

Thread began 4/05/2009 7:06 am by Ty.Taylor116345 | Last modified 4/06/2009 11:59 am by Ty.Taylor116345 | 5109 views | 2 replies

Danilo Celic

The code you pasted appears to have spaces in the column names. Is that correct? If so, then once way around this might be use switch to using something like:
#URLEncodedFormat(WADARSR['RSR Stock Number'])#

Or better yet, remove the spaces from outputs and update your SQL so that it selects the column name(s) with spaces and creates aliases for the columns without spaces. How to do that would depend on the database that you're using, but it might look something like this for MySQL:

SELECT `RSR Stock Number` as RSRStockNumber, ....

In MySQL, the ` character is an escape character. Is that block of code generated by DataAssist, or did you create this block of code and then drag in the data bindings from the Bindings panel?

FYI: it's considered bad practice to have spaces and any other special character in column names as it will cause issues within SQL and output of values from a query without taking steps to workaround them. Best to not have the spaces to begin with.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...