I need to create a query using SQL in the VB DataEnvironment to be used by a VB DataReport. I only want records that match a specific list of IDs to be selected. The number of IDs and ID values will change each query. I, therefore, need to pass these these values to the DataEnvironment as a parameter from the VB application. Since the number of values is various each query, I cannot use multiple parameters. I was wondering if it is possible to pass an array to the DataEnvironment and somehow use the "IN" operator to match each element in the array.