Ok, I will try to explain.
I am developing a social network, I want to make a add friend option on users profile pages.
I made a table,,, UserID, FriendID, Approved.
When the user clicks add friend, data assist inserts the ids into the table.
This part of the system works.
What I need to do is filter a recordset to search the database for the ids to see if the users are already friends.
I would then use the show if tool to show or hide the button, depending on the users status.
I am filtering on the users logged in id, and a session var I made containing the profile page users information.