I am trying to use the FAQ701-4233 and am having problems.
I have a query that I am relating two tables:
tblEngagement_ClarifyData_Case
strCaseNum (Key)
strCaseTitle
dtmCaseOpen
dtmCaseClose
strCaseOwner
tblEngagement_ClarifyData_Subcase
strSubcaseNum (Key)
strCaseNumber
dtmSubcaseOpen
dtmSubcaseClose
strOwenrFN
strOwenrLN
The tables are related as follows:
tblEngagement_ClarifyData_Case.strCaseNum = tblEngagement_ClarifyData_Subcase.strCaseNumber
When I run the query I receive Run-time error '3061': Too few parameters. Expected 2.
The SQL I am using in the query is as follows:
=====================================
=====================================
Can anyone help?
I have a query that I am relating two tables:
tblEngagement_ClarifyData_Case
strCaseNum (Key)
strCaseTitle
dtmCaseOpen
dtmCaseClose
strCaseOwner
tblEngagement_ClarifyData_Subcase
strSubcaseNum (Key)
strCaseNumber
dtmSubcaseOpen
dtmSubcaseClose
strOwenrFN
strOwenrLN
The tables are related as follows:
tblEngagement_ClarifyData_Case.strCaseNum = tblEngagement_ClarifyData_Subcase.strCaseNumber
When I run the query I receive Run-time error '3061': Too few parameters. Expected 2.
The SQL I am using in the query is as follows:
=====================================
Code:
SELECT tblEngagement_ClarifyData_Case.CaseNum, tblEngagement_ClarifyData_Case.CaseTitle, Concatenate("SELECT tblEngagement_ClarifyData_Case.CaseNum, tblEngagement_ClarifyData_Case.CaseTitle,[ownerLN] FROM tblEngagement_ClarifyData_Subcase WHERE tblEngagement_ClarifyData_Case.CaseNum = """ & [tblEngagement_ClarifyData_Subcase].[CaseNumber] & """") AS SubcaseOwners
FROM tblEngagement_ClarifyData_Case INNER JOIN tblEngagement_ClarifyData_Subcase ON tblEngagement_ClarifyData_Case.CaseNum = tblEngagement_ClarifyData_Subcase.CaseNumber;
Can anyone help?