S
Sean Clayton
Hi all,
I'd be really appreciative of a little advice, if someone would be
willing.
I'm attempting to design a database for one of our doctors here based
on a screenprint of an Access form he gave me. For the most part, it's
been straightforward, but I'm having trouble with one part, and it's
getting me pretty frustrated.
The form, as I've designed it, consists of 3 nested forms. The Main
form has a patient search combo box which populates a set of text and
date boxes, and also is supposed to populate the fields of the Surgery
subform with the surgeries for that patient. The Surgery subform has
its own combo box, which is supposed to search among the returned
surgery dates and populate the fields based on the date chosen.
Surgery also has its own subform, Procedures, that lists the
procedures performed during a particular surgery.
As I have it working now, I can pick a patient using the Main form
search box just fine, and it populates the relevant information in the
Main form text boxes. It also populates the fields on the Surgery and
Procedures subforms for the first listed surgery date for that
patient. The Surgery subform's combo box lists all the surgery dates
in the underlying table, but will only display the info for the dates
associated with the patient you choose. Choosing any other date does
nothing.
I want to set it up so that for the patient selected in the Main form
combo, it only displays the surgery dates associated with him in the
Surgery subform combo. Can someone give me a hand?
I'd be really appreciative of a little advice, if someone would be
willing.
I'm attempting to design a database for one of our doctors here based
on a screenprint of an Access form he gave me. For the most part, it's
been straightforward, but I'm having trouble with one part, and it's
getting me pretty frustrated.
The form, as I've designed it, consists of 3 nested forms. The Main
form has a patient search combo box which populates a set of text and
date boxes, and also is supposed to populate the fields of the Surgery
subform with the surgeries for that patient. The Surgery subform has
its own combo box, which is supposed to search among the returned
surgery dates and populate the fields based on the date chosen.
Surgery also has its own subform, Procedures, that lists the
procedures performed during a particular surgery.
As I have it working now, I can pick a patient using the Main form
search box just fine, and it populates the relevant information in the
Main form text boxes. It also populates the fields on the Surgery and
Procedures subforms for the first listed surgery date for that
patient. The Surgery subform's combo box lists all the surgery dates
in the underlying table, but will only display the info for the dates
associated with the patient you choose. Choosing any other date does
nothing.
I want to set it up so that for the patient selected in the Main form
combo, it only displays the surgery dates associated with him in the
Surgery subform combo. Can someone give me a hand?