Okay, here's some background on my database.
I have distribution lists: lists of UserID's (more than one ID in list)
I have reports that take any of 150 queries.
I would like to dynamically take the existing queries and by the user choice limit the reports to contain only the UserID's that are in the list they choose.
I know how to do this the long way and write out SQL for each query -- but is there a simple way that I can write one code that says something like:
"Report's existing query" Where UserID = "UserID's from list"?
Please let me know if you need more clarification!
I have distribution lists: lists of UserID's (more than one ID in list)
I have reports that take any of 150 queries.
I would like to dynamically take the existing queries and by the user choice limit the reports to contain only the UserID's that are in the list they choose.
I know how to do this the long way and write out SQL for each query -- but is there a simple way that I can write one code that says something like:
"Report's existing query" Where UserID = "UserID's from list"?
Please let me know if you need more clarification!