Remove item from combo box once it is selected

Please support our MS Access and FileMaker Pro advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jul 2008
Posts: 8
Reputation: memnac is an unknown quantity at this point 
Solved Threads: 0
memnac memnac is offline Offline
Newbie Poster

Remove item from combo box once it is selected

 
0
  #1
Oct 15th, 2009
OK, i have a form with 3 controls. 1 x textbox, and 2 combo boxes. The scenario is like capturing students taking courses in a specified week number. e.g.
TxtWeekNo CboCourse TxtStudentName
1 Engineering Joe Bloggs
1 Engineering Jay Rock
1 Law Mary Joe
2 Engineering <Nothing to select!>

What i want to do is upon selecting the course, i want to filter for students not already specified for that week and course.
Referencing the above table, when i select "Engineering", i have two students in the combo dropdown Joe & Jay, where i specify Joe in the first instance. In the second record, for the same week and course, i only have one student to select - Jay.
The query i have works well for week 1 BUT when i start with week two, if i specify Engineering, i have NO MORE STUDENTS TO SELECT! I'm pretty sure there is a way to refresh the box for new weeks. PLEASE HELP!!!
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the MS Access and FileMaker Pro Forum
Thread Tools Search this Thread



Tag cloud for MS Access and FileMaker Pro
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC