Hi, i'm using CR9 and have a report with a subreport.
The supbreport uses a command to get its data.
In the command there's a where-clause which uses a parameter from the main report.
((where table.culture = {?Culture}))
culture is a string (varchar(5) in sql server)
Now here's the problem, when I execute the query in sql server i write : where table.Culture = 'culture', WITH quotes. When i write it in CR9 and use the quotes it says nada, no data. When i dont write the quotes it says the same, no data. when i dont write the where clause i get the data but for each culture which is exact.
the question is how do I implement the string parameter in the where clause?
thanks in advance
The supbreport uses a command to get its data.
In the command there's a where-clause which uses a parameter from the main report.
((where table.culture = {?Culture}))
culture is a string (varchar(5) in sql server)
Now here's the problem, when I execute the query in sql server i write : where table.Culture = 'culture', WITH quotes. When i write it in CR9 and use the quotes it says nada, no data. When i dont write the quotes it says the same, no data. when i dont write the where clause i get the data but for each culture which is exact.
the question is how do I implement the string parameter in the where clause?
thanks in advance