Primomikey
Technical User
Hi all.
I am trying to reference a subform control from a Query but am encountering a persistent error which suggests bad referencing on my part but I am at a loss to pinpoint.
Main form is frmCreateRFS
Subform is frmRFSHardwareSubForm
Controls EventType & DSTItemID
The intention is to select a value for EventType on the subform.
Then (on subform as well) click on combo DSTItemID which is sourced through a query to filter the results of the combo.
When trying this with just the subform, it works fine. but when tried with the subform in the mainform, the query asks me to enter a parameter value. I have tried variations of the following reference in the query:
[Forms]![frmCreateRFS]![frmRFSHardwareSubform].[Form].[EventType]
Any help would be appreciated.
Many thanks.
I am trying to reference a subform control from a Query but am encountering a persistent error which suggests bad referencing on my part but I am at a loss to pinpoint.
Main form is frmCreateRFS
Subform is frmRFSHardwareSubForm
Controls EventType & DSTItemID
The intention is to select a value for EventType on the subform.
Then (on subform as well) click on combo DSTItemID which is sourced through a query to filter the results of the combo.
When trying this with just the subform, it works fine. but when tried with the subform in the mainform, the query asks me to enter a parameter value. I have tried variations of the following reference in the query:
[Forms]![frmCreateRFS]![frmRFSHardwareSubform].[Form].[EventType]
Any help would be appreciated.
Many thanks.