K
Kevin via AccessMonster.com
Hello all,
I have a form with four comboboxes that are set to draw their RowSource from
different fields of the same form (Patient Information). The four boxes are:
MR Number (the unique primary key of the table), Last Name, First Name, and
Date of Birth. I would like to be able to select a value for one of these
comboboxes and have that value update the others in the following manner:
entry of the MR Number populates the other three boxes; entry of Last Name
allows only selections associated with said name in the other three (i.e.
both John Smith and Patrick Smith exist; entry of "Smith" into Last Name will
have First Name only display options "Patrick" and "John". Continuous
selection would ideally narrow down the remaining comboboxes until all are
filled with the information from a unique patient). I am still relatively new
to Access, and have very limited familiarity with VBA, however, I am more
than willing to try any advice that you can offer.
Thank you very much in advance for your time!
I have a form with four comboboxes that are set to draw their RowSource from
different fields of the same form (Patient Information). The four boxes are:
MR Number (the unique primary key of the table), Last Name, First Name, and
Date of Birth. I would like to be able to select a value for one of these
comboboxes and have that value update the others in the following manner:
entry of the MR Number populates the other three boxes; entry of Last Name
allows only selections associated with said name in the other three (i.e.
both John Smith and Patrick Smith exist; entry of "Smith" into Last Name will
have First Name only display options "Patrick" and "John". Continuous
selection would ideally narrow down the remaining comboboxes until all are
filled with the information from a unique patient). I am still relatively new
to Access, and have very limited familiarity with VBA, however, I am more
than willing to try any advice that you can offer.
Thank you very much in advance for your time!