I have 2 sources that are sql datasources. I am trying to have a script that prompts a user for a Batch ID and that prompt will then restrict the source data to that Batch ID. I have found the vb script that does this, but it doesn't seem to work if I have more than one source.
Here is what I have so far:
Dim Input
Input = InputBox("Enter a Batch ID to Import","Batch")
Query.AdditionalCriteria = "[Source1.Batch] = '"+Input+"'"
Batch is the column name in Source1.
Here is what I have so far:
Dim Input
Input = InputBox("Enter a Batch ID to Import","Batch")
Query.AdditionalCriteria = "[Source1.Batch] = '"+Input+"'"
Batch is the column name in Source1.