I have a table in a database that contains 100+ numbered, multiple-choice questions and a user query that allows the user to type in one or several question numbers. The intended result of the query is a report listing each selected question and their associated answers. It is to allow the instructor to tailor a mini-quiz from the master database.
However, when the user enters any two digit number (eg 13) the result generated is the intended number plus the individual components (1, 3, 13 instead of just 13).
I am using the query: Expr1: InStr(1,[Enter question numbers separated by commas],[Tbl_Questions.Key])
I have a solution but it requires two queries. One query for questions 1-9 and another for questions 10-99 but this is not really acceptable to me or my colleagues since both values <10 and >10 are expected to be entered into a single query.
Is this doable or am I asking the impossible?
However, when the user enters any two digit number (eg 13) the result generated is the intended number plus the individual components (1, 3, 13 instead of just 13).
I am using the query: Expr1: InStr(1,[Enter question numbers separated by commas],[Tbl_Questions.Key])
I have a solution but it requires two queries. One query for questions 1-9 and another for questions 10-99 but this is not really acceptable to me or my colleagues since both values <10 and >10 are expected to be entered into a single query.
Is this doable or am I asking the impossible?