L
lcannon1
I have a combo box of database references (cbodatabaserefd). When a nam
is selected, I
need for it to run a query and show the results in another combo bo
(cbonames) to show the names from a particular query that is associate
to the database. I do not really need the query to be open just t
show in the combo box.
This is how I think it would go, I just need some help making it work
Thanks in advance.
If BD is selected from cbodatabaserefd then
docmd.openquery "qrycontactdbaseBD" (and show in cbonames)
If EBP is selected from cbodatabaserefed then
docmd.openquery "qrycontactdbaseEBP" ( and show in cbonames)
If Product is selected from cbodatabaserefd then
docmd.openquery "qrycontactdbaseProduct" (and show in cbonames)
Else cbonnames is empt
is selected, I
need for it to run a query and show the results in another combo bo
(cbonames) to show the names from a particular query that is associate
to the database. I do not really need the query to be open just t
show in the combo box.
This is how I think it would go, I just need some help making it work
Thanks in advance.
If BD is selected from cbodatabaserefd then
docmd.openquery "qrycontactdbaseBD" (and show in cbonames)
If EBP is selected from cbodatabaserefed then
docmd.openquery "qrycontactdbaseEBP" ( and show in cbonames)
If Product is selected from cbodatabaserefd then
docmd.openquery "qrycontactdbaseProduct" (and show in cbonames)
Else cbonnames is empt