close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

show only one record from multiple results

Thread began 11/19/2009 11:02 pm by contact318852 | Last modified 11/20/2009 9:10 am by contact318852 | 3092 views | 2 replies

contact318852

show only one record from multiple results

Knowing there may be more than one way to acheive this, Im wodnering if the php pundits might point me toward more precise topics to search for a solution.

I created a search and results set of pages in dataassist then manually edited the sql to create a record set based on an inner join of two tables.

member and locations

Each member on the site has one unique member record, but can have many locations records. However on this particular search result I only want to show one record per memberid (the unique index of the join)

So although there may be 6 locations records for memberid 12 I only want to display on one record per memberid

I suspect I should add more code to the record set select statement that defines a count of memberid results, and returns only count # 1 of memberid

does it sound like im on the right train of thought?

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