Hello everyone, I need to run a query that is filtered by an array, but is not returning the desired result.
I have a textbox "txtValues" on a form, that has the array values let's say 1,4,5,6
I need to fire up the query where the ID is within those value, so ran the SQl statement adding "where ID In ([Forms]![Contacts]![txtValues])"
It's currently not returning anything. Am I missing something out?
If I replace [Forms]![Contacts]![txtValues] with 1,4,5,6 it works just fine, so it seems like am missing some kind of syntax.
Thanks
I have a textbox "txtValues" on a form, that has the array values let's say 1,4,5,6
I need to fire up the query where the ID is within those value, so ran the SQl statement adding "where ID In ([Forms]![Contacts]![txtValues])"
It's currently not returning anything. Am I missing something out?
If I replace [Forms]![Contacts]![txtValues] with 1,4,5,6 it works just fine, so it seems like am missing some kind of syntax.
Thanks