Skip navigation
novembr1111
Currently Being Moderated

Filter Recordset from another recordset's results???

Apr 23, 2012 10:27 AM

I have a database full of user info including a unique userID.... I have another table where user relationships are defined to make connections liek "friends". This table uses only the userID's and none of the user information... I want to display a users relationships/connections by photo and name one their page but only have a recordset that returns the userID's of their connections... Is there a way to run another recordset like "connectioninfo" that is filtered by all a users conection's userID's? hopefully that all made sense... any help is really appreciated. Thanks a lot.

 
Replies
  • Currently Being Moderated
    Apr 23, 2012 1:13 PM   in reply to novembr1111

    Use a JOIN in your query. Look it up.

     

    best,

    Shocker

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 24, 2012 2:26 PM   in reply to novembr1111

    Is there a way to filter the results by a session variable?

     

    Use a WHERE in your query. Look it up.

     

    best,

    Shocker

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points