Hi,
What is the best way to use a form to allow an enduser to upload a file of IDs so that they can be used to query the database? In other words, so that they would be part of an "IN" statement like:
I would like the file values to replace the val1...valn in the select statement. I would like to do this in MS access if possible. And, if it is possible, does anyone know what the limit is for the number of values?
Alternatively, if this cannot be done by file upload, if I had a form with textboxes for all the values, what would happen if some were left blank?
I'm hoping someone will just let me know if any of these scenarios are feasible, although a point to a link would be welcome too!
Thanks!
What is the best way to use a form to allow an enduser to upload a file of IDs so that they can be used to query the database? In other words, so that they would be part of an "IN" statement like:
Code:
Select field1, field2, field3 from table1 where myID IN ('val1', 'val2', 'val3',...'valn')
I would like the file values to replace the val1...valn in the select statement. I would like to do this in MS access if possible. And, if it is possible, does anyone know what the limit is for the number of values?
Alternatively, if this cannot be done by file upload, if I had a form with textboxes for all the values, what would happen if some were left blank?
I'm hoping someone will just let me know if any of these scenarios are feasible, although a point to a link would be welcome too!
Thanks!