SQL query cross match

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fran7
    New Member
    • Jul 2006
    • 229

    SQL query cross match

    Hi, I have individual members pages by profileid

    Code:
    lngprofileid=CLng(Request("profileid"))
    On these pages I am making a second query as I want to display other members who fall into a similar category (country) for example, to the member in the main query. Because the main query is by profileid and not the category (country) i cannot see how to get those members to display.


    Any pointers would be great
    Thanks
    Richard
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    Return country in your main query so you can use it to filter in the second query.

    Comment

    Working...