close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Dynamic Data for Menu

Thread began 3/27/2010 7:25 am by anonymous | Last modified 5/17/2010 12:41 pm by anonymous | 1529 views | 9 replies

Jason ByrnesWebAssist

the DISTINCT key returns a unique row set.

It does not apply to the first column in your select statement, it is applied to all of the columns in your select statement. It will return data where the entire row in the recordset is distinct.

Instead of using distinct, you can use GROUP BY

SELECT column1, column2 FROM tblname GROUp BY column1


but actualy looking at your page, the real problem is that you are using 1 recordset for the 4 lists.

you should be using 4 recordsets, one for each list.

Using the same recordset for each list will not give the result you are looking for

Creaete a record set for each list. return only the column needed for that list and use DISTINCT

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