I have this query: qryBSMRDb
SELECT *
FROM qryBSMRDGSa
WHERE (((qryBSMRDGSa.Response)=3) AND ((qryBSMRDGSa.RD)=[Enter RD]));
Which calls another query: qryBSMRDa
SELECT RD, BSMNum, BSMName,'BSMMedSup' AS Instance, BSMMedSupCom AS InsatnceB, BSMMedSup AS Response FROM [BSMRDGS]
UNION ALL SELECT RD, BSMNum, BSMName, 'BSMMMA', BSMMMACOM, BSMMMA FROM [BSMRDGS]
UNION ALL SELECT RD, BSMNum, BSMName, 'BSMPDP', BSMPDPCOM, BSMPDP FROM [BSMRDGS]
...
...
I am trying to make the "[Enter RD]" parameter from the first qry mentioned above, a drop down selection combo box parameter.
I have tried the following link, by creating a separate table with the criteria selections: but I am having trouble when it comes to section 2.2 - 2.3. I think because when I use the Build function the criteria, I am calling it from a Query, not a table, like their "staff" table??? Is there another way to accomplish the dropdown?
Here is the new qryBSMRDb which does not work:
SELECT *
FROM qryBSMRDGSa
WHERE (((qryBSMRDGSa.Response)=3) AND ((qryBSMRDGSa.RD)=[Forms]![frmRD]![ComboRD]));
Thanks
SELECT *
FROM qryBSMRDGSa
WHERE (((qryBSMRDGSa.Response)=3) AND ((qryBSMRDGSa.RD)=[Enter RD]));
Which calls another query: qryBSMRDa
SELECT RD, BSMNum, BSMName,'BSMMedSup' AS Instance, BSMMedSupCom AS InsatnceB, BSMMedSup AS Response FROM [BSMRDGS]
UNION ALL SELECT RD, BSMNum, BSMName, 'BSMMMA', BSMMMACOM, BSMMMA FROM [BSMRDGS]
UNION ALL SELECT RD, BSMNum, BSMName, 'BSMPDP', BSMPDPCOM, BSMPDP FROM [BSMRDGS]
...
...
I am trying to make the "[Enter RD]" parameter from the first qry mentioned above, a drop down selection combo box parameter.
I have tried the following link, by creating a separate table with the criteria selections: but I am having trouble when it comes to section 2.2 - 2.3. I think because when I use the Build function the criteria, I am calling it from a Query, not a table, like their "staff" table??? Is there another way to accomplish the dropdown?
Here is the new qryBSMRDb which does not work:
SELECT *
FROM qryBSMRDGSa
WHERE (((qryBSMRDGSa.Response)=3) AND ((qryBSMRDGSa.RD)=[Forms]![frmRD]![ComboRD]));
Thanks