G
Guest
I have a tab control on a form with four pages and a
subform on each page. I want to change the records
displayed on each subform when the user clicks an edit
button on the main form and inputs a spec number. I gave
up trying to filter the subforms and am now trying to
change the recordsource for each subform. I have spent
days trying to figure this out.
This is my latest of many attempts:
tabProducts.Pages!pgAprons!sfrmApron.Form.RecordSource =
strSource
Where:
strSource is a SQL query string,
tabProducts is the tab control,
pgAprons is one of the pages on tbProducts and
sfrmAprons is the subform control. (frmApron is the name
of the form in the subform control).
I get the error message "Object does not support this
property or method".
Can anyone help me?
subform on each page. I want to change the records
displayed on each subform when the user clicks an edit
button on the main form and inputs a spec number. I gave
up trying to filter the subforms and am now trying to
change the recordsource for each subform. I have spent
days trying to figure this out.
This is my latest of many attempts:
tabProducts.Pages!pgAprons!sfrmApron.Form.RecordSource =
strSource
Where:
strSource is a SQL query string,
tabProducts is the tab control,
pgAprons is one of the pages on tbProducts and
sfrmAprons is the subform control. (frmApron is the name
of the form in the subform control).
I get the error message "Object does not support this
property or method".
Can anyone help me?