close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Filter data in select to omit records related to logged in user.

Thread began 3/01/2011 9:57 am by troyd | Last modified 3/21/2011 7:45 am by troyd | 3334 views | 16 replies

troyd

Sure, sorry if I wasn't explaining it right.

You see how the dropdown on my screenshot shows June 26?
The user as you can see in the bottom list already registered. So that June 26 date should not be there as a choice now.

What you can't see in the dropdown (because it's closed in the shot), is that August is also available. That one would be correct and is the only date that should be available to the user.

I looked at your screenshot. It shows a return of May1, June 26 and August 28.
The user as mentioned above should only be seeing August 28.

The query is doing what it's being told and filtering out the UserID = 5. But since userid 6 has registered for dates = to dates that userid 5 has, I need those gone too because I don't want userid 5 to re register for the same dates.

Sometimes things sound correct in my head but I am saying the wrong. I can try to explain this a different way if needed. Sorry for the rambling.

Basically what I need is a filter that says, remove all UserID = 5 AND also remove all other records which have a date = to any of the records with the UserID of 5. :)

Thanks,
TroyD

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