B
BMusic
I have a question similar to this one:
http://www.microsoft.com/office/com...ffice-access&lang=en&cr=US&sloc=en-us&m=1&p=1
I have followed the code and it works for the first item I select in the
parent table, but not when I try to change to the second item.
Forms and fields are:
frmTotalDetails
autOperatorID
sfrmPODInfoSearch
autOperatorID
autPOD_ID
uses table tblPODInfo
I need to filter the autPOD_ID in the subform by which operator is selected
in the main form with autOperatorID
Here is the statement I'm using.
SELECT tblPODInfo.autOperatorID, tblPODInfo.autPOD_ID,
tblPODInfo.txtPOD_Name FROM tblPODInfo WHERE
(((tblPODInfo.autOperatorID)=[Forms]![frmTotalDetails]![sfrmPODInfoSearch].[Form]![autOperatorID]));
How can I change it to allow the operator to be changed in the main form and
update the query in the combo box in the subform?
Thanks in advance!
I need to
http://www.microsoft.com/office/com...ffice-access&lang=en&cr=US&sloc=en-us&m=1&p=1
I have followed the code and it works for the first item I select in the
parent table, but not when I try to change to the second item.
Forms and fields are:
frmTotalDetails
autOperatorID
sfrmPODInfoSearch
autOperatorID
autPOD_ID
uses table tblPODInfo
I need to filter the autPOD_ID in the subform by which operator is selected
in the main form with autOperatorID
Here is the statement I'm using.
SELECT tblPODInfo.autOperatorID, tblPODInfo.autPOD_ID,
tblPODInfo.txtPOD_Name FROM tblPODInfo WHERE
(((tblPODInfo.autOperatorID)=[Forms]![frmTotalDetails]![sfrmPODInfoSearch].[Form]![autOperatorID]));
How can I change it to allow the operator to be changed in the main form and
update the query in the combo box in the subform?
Thanks in advance!
I need to