When I create a new command of a report that looks like that
select e.x, a.x, a.y
from Table1 t,
table2 a
where a.z = e.z
and a.xx = form1.ComboBox1.Text
it generates an error. Is there a way to do it?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your columns need to have different names to each other – at present, the first two columns are both called x. Also, if your ComboBox has multiple values, you need to use an IN condition, not an =. Try changing the query to look like: