Hi all,
I have a string type parameter called myParam and I manually give it the value '1','2','3','4'
In the select expert I tell it to find the matching records:
{SOME FIELD} in {?myParam}
I know that Crystal will eventually get me the correct results, but when looking at the SQL-query of Crystal it leaves the statement out completely.
When the table is a bit larger this is bad news.
Just in case you wondered why I want to do this:
In my main report I'm putting a string together, comma seperated, with data read from the database.
The subreport needs this data as a select criteria.
I tried to use a local Array stringVar and split the result of the string so I'm passing a real array to the IN statement, but it didn't help.
Hope someone knows how to fix this.
Many thanks
JR
I have a string type parameter called myParam and I manually give it the value '1','2','3','4'
In the select expert I tell it to find the matching records:
{SOME FIELD} in {?myParam}
I know that Crystal will eventually get me the correct results, but when looking at the SQL-query of Crystal it leaves the statement out completely.
When the table is a bit larger this is bad news.
Just in case you wondered why I want to do this:
In my main report I'm putting a string together, comma seperated, with data read from the database.
The subreport needs this data as a select criteria.
I tried to use a local Array stringVar and split the result of the string so I'm passing a real array to the IN statement, but it didn't help.
Hope someone knows how to fix this.
Many thanks
JR