G
Guest
I have the following combo box, which works
SELECT [tblVersion].[verID], [tblVersion].[verPerfYearEndDate] FROM tblVersion WHERE ((([tblVersion].[peoID])=txtpeoID)) ORDER BY [tblVersion].[verPerfYearEndDate] DESC;
The form is based on the following quer
SELECT tblPeople.peoID, tblVersion.verID, ..
FROM (tblPeople INNER JOIN tblVersion ON tblPeople.peoID = tblVersion.peoID) INNER JOIN tblPlanTasks ON tblVersion.verID = tblPlanTasks.pverI
WHERE (((tblPeople.peoID)=[Forms]![frmEvaluation]![cboEvalSelectName]) AND ((tblVersion.verID)=[Forms]![frmPastEval]![cboSelectPerfYearEndDate]))
I want the form to show the version selected in the combo box, but every time I and the AND statement, it retrieves nothing
How do I get it to work
I have Me.Requery following the update of the combo box.
SELECT [tblVersion].[verID], [tblVersion].[verPerfYearEndDate] FROM tblVersion WHERE ((([tblVersion].[peoID])=txtpeoID)) ORDER BY [tblVersion].[verPerfYearEndDate] DESC;
The form is based on the following quer
SELECT tblPeople.peoID, tblVersion.verID, ..
FROM (tblPeople INNER JOIN tblVersion ON tblPeople.peoID = tblVersion.peoID) INNER JOIN tblPlanTasks ON tblVersion.verID = tblPlanTasks.pverI
WHERE (((tblPeople.peoID)=[Forms]![frmEvaluation]![cboEvalSelectName]) AND ((tblVersion.verID)=[Forms]![frmPastEval]![cboSelectPerfYearEndDate]))
I want the form to show the version selected in the combo box, but every time I and the AND statement, it retrieves nothing
How do I get it to work
I have Me.Requery following the update of the combo box.