Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop Down Menu

Status
Not open for further replies.

ptuck

MIS
Joined
Aug 8, 2003
Messages
130
Location
US
I have a little problem. I created a web form to use to evaluate people. I have a drop down box that is populated from a database table with names. What I want to do is have the name eliminated from the list as it is evaluated. The catch is that multiple people will be evaluating the same names. Meaning I can't remove the name from the list permantly just for this one particular user. Any ideas on how I can flag this and remove it from the list?
 
Please provide details of your database tables. You will need some way of cross checking your reviewers and reviewees.
 
Do i understand it correctly that person A can be evaluated by more than 1 person? So if i use your page the drop down box should show only names that are not evaluated at the moment by me[/]?
I suppose (and hope) you have a table that stores who is evaluating who. Then you can do something like this:

Code:
SELECT p.personid, p.name FROM PEOPLE p
WHERE p.personid NOT IN (
   SELECT personid FROM EVALUATION
   WHERE reviewer = 'FOXBOX')

ttmug.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top