I have a form which uses a combo box to populate fields in a sub form which works as it should, the issue that I have is that I wish to use this form as a sub form.
The combo box "txtSearch" is in the Header of form "SearchCustFrm" this has the control source "SearchCustQry" column "CustName" in the query has the following criteria
Like "*" & [Forms]![SubForm]![frmCustSearch]![txtSearch].[Text] & "*"
As stated this form works fine until I use it as a Sub Form, when I open the Main Form I get a dialogue box requesting to "Enter Parameter Value"
Forms!SubForm!FrmCustSearch!xtSearch.Text & "*"
I believe the problem is to do with the referencing of sub form, I have searched but cannot resolve the problem.
Any help would be greatly appreciated'
DavRob
The combo box "txtSearch" is in the Header of form "SearchCustFrm" this has the control source "SearchCustQry" column "CustName" in the query has the following criteria
Like "*" & [Forms]![SubForm]![frmCustSearch]![txtSearch].[Text] & "*"
As stated this form works fine until I use it as a Sub Form, when I open the Main Form I get a dialogue box requesting to "Enter Parameter Value"
Forms!SubForm!FrmCustSearch!xtSearch.Text & "*"
I believe the problem is to do with the referencing of sub form, I have searched but cannot resolve the problem.
Any help would be greatly appreciated'
DavRob