close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Sort Column error

Thread began 8/26/2009 8:12 pm by 4egidio363291 | Last modified 11/17/2009 1:46 pm by Jason Byrnes | 1215 views | 5 replies |

4egidio363291

Sort Column error

I am sorting columns using Datassist sort server behavior. I am able to get some columns to sort but others I'm getting the error.

Column 'UserZip' in order clause is ambiguous.
I attached the page with the problems. FYI, the columns that work are Title and List Price. City, State and Zip are returning this error.

Please advise. thank you

Attached Files
buynintendodsgames.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

This error means there is a column named UserZip in more than 1 of the table being used in your query.

You query is returning column from the Orders, OrderDetails and Users tables. You need to specify in your link which table the userZip column to use is in. For example, to use the userZip column in the users table, your link should look like:
<a href="buynintendodsgames.php?sort=Users.UserZip">Zip</a>

Sign in to reply to this post

4egidio363291

Sort

Thanks Jason that works.

One last thing, is there image that is suppose to show up next to the sort column to show its sortable? Like a upside down triangle or something?

Sign in to reply to this post

Jason ByrnesWebAssist

No, the sort server behavior will not do that for you, you would need to add the image yourself.

Sign in to reply to this post

rob294118

Clickable Columns

I was able to create the sort columns but there is nothing to click on to sort. Shouldn't there be a link?

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

You have to create the link.


See the "Sorting by column links" tutorial in the solution recipe section of the DataAssist support page:
dataassist/

Sign in to reply to this post

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

Content

rating

Layout

rating

Ease of use

rating

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...