Hello,
I'm having a bit of trouble with my sql statement.
I want to take a vairable from a combobox on my form and use it as a search parameter in my query.
my sql is
when the query runs i get the error undefinied function 'frmMatrix!ComboEmp.Column' in expression
Is it as simple as a syntax error with the SQL statement or am I going about passing the vairable to the sql completely wrong???
I'm having a bit of trouble with my sql statement.
I want to take a vairable from a combobox on my form and use it as a search parameter in my query.
my sql is
Code:
SELECT *
FROM tblSkills
WHERE (EmpNo=frmMatrix!ComboEmp.Column(0));
when the query runs i get the error undefinied function 'frmMatrix!ComboEmp.Column' in expression
Is it as simple as a syntax error with the SQL statement or am I going about passing the vairable to the sql completely wrong???