This is in continutation of the question asked here: how to use LIKE with column name
since i do not have enough reputation i am unable to add it to the question there itself. My question is:
I am using Microsoft Access with ODBC connectivity to MySql
There is a linked table to it
i wan to query the table using a text box on a Form
i am unable to do so with the error 'ODBC--call failed'
this is the sql statement of my query:
SELECT
'Completed',
'Entity Name',
'Assignment',
'Financial Year',
'Service Area',
'Partner/Director',
'Intern 1',
'Intern 2',
Payment_recddate,
Invoice_Amount',
'MinOfStart Date',
'MinOfDue Date',
PAN,
AssignmentID,
Priority1CompletedRatio
FROM
qry_Assignments_WIP_sub
WHERE
[Entity Name] Like
CONCAT([Forms]![frm_Assignments_WIP]![txtEntitynameFilter],'%')
I am doing something wrong in it and am at wits end trying to get this right
In reply to cha
WHERE qry_Assignments_WIP_sub.Entity Name
Like "CONCAT('" & [Forms]! [frm_Assignments_WIP]![txtEntitynameFilter] & "','%')"')