J
JohnLute
Hi, group! I'm trying to populate combobox [cbSelectReport] with another
combobox [cbProfileID].
Here is the [cbProfileID] Row Source:
SELECT tblProfiles.txtProfileID, tblProfiles.Type
FROM tblProfiles
ORDER BY tblProfiles.txtProfileID;
[cbProfileID] also has this After Update Event:
Me.cbSelectReport.Requery
Here is the [cbSelectReport] SQL:
SELECT tblReportNames.ReportName, tblReportNames.ReportToOpen
FROM tblReportNames
WHERE (((tblReportNames.Type)=[Forms]![frmQueriesReports].[cbProfileID]));
What can I add to the WHERE clause so that [cbSelectReport] requeries
according to [cbProfileID].[Type]?
THANKS!!!
combobox [cbProfileID].
Here is the [cbProfileID] Row Source:
SELECT tblProfiles.txtProfileID, tblProfiles.Type
FROM tblProfiles
ORDER BY tblProfiles.txtProfileID;
[cbProfileID] also has this After Update Event:
Me.cbSelectReport.Requery
Here is the [cbSelectReport] SQL:
SELECT tblReportNames.ReportName, tblReportNames.ReportToOpen
FROM tblReportNames
WHERE (((tblReportNames.Type)=[Forms]![frmQueriesReports].[cbProfileID]));
What can I add to the WHERE clause so that [cbSelectReport] requeries
according to [cbProfileID].[Type]?
THANKS!!!