Hi Everyone.
I am struggling with referencing form controls within the query criteria.
I have 2 subforms that are within a Tab Control.
The first I have referenced as follows- Like "*" & [forms]![Airspace Overview].[Form]![FRM_AirspaceAnalysisSub]![AirspaceType] & "*"
The second as follows- Like "*" & [forms]![Airspace Overview].[Form]![FRM_SearchMulti]![SrchText] & "*"
The first reference works fine, however the second pops up with 'Enter Parameter Value' - 'Forms!Airspace Overview.Form!FRM_SearchMulti!SrchText' when loading the form.
If I click 'OK' without entering a parameter, it works as it should.
If anyone knows where I'm going wrong please advise me
.
Thanks in advance,
Steve
I am struggling with referencing form controls within the query criteria.
I have 2 subforms that are within a Tab Control.
The first I have referenced as follows- Like "*" & [forms]![Airspace Overview].[Form]![FRM_AirspaceAnalysisSub]![AirspaceType] & "*"
The second as follows- Like "*" & [forms]![Airspace Overview].[Form]![FRM_SearchMulti]![SrchText] & "*"
The first reference works fine, however the second pops up with 'Enter Parameter Value' - 'Forms!Airspace Overview.Form!FRM_SearchMulti!SrchText' when loading the form.
If I click 'OK' without entering a parameter, it works as it should.
If anyone knows where I'm going wrong please advise me

Thanks in advance,
Steve