... when assigning doctor's to a patient instead of a drop down of ALL doctors on staff whether they are available or not.
This is easy. Use a WHERE condition in the combo box.
Something like
Code:
SELECT [Doctor].DoctorID, [Doctor].LName & ", " & [Doctor].FName WHERE [Doctor].Available = TRUE
I have a project I am working on and a user interface I need help with. Short and simple, I have a table with all the doctor on staff for a hospital. What i need is a form that pops up all the doctors on staff as button or clickable objects. I want them to pop us available (green color) or unavailable (grey color). I added an available yes/no option in the doctor table.
Attached is an Access2000 mdb with two examples of how you could select/unselect doctors. One is a form with a list box. Using the list box, you can set the availability of several doctors at once. click on several name, then click a button.
The other example is a form where you can click on the available check box or the record selector to change the availability status.