I send my query for report as bellow
Code: Select all
var testeVea = "select * from cargo where 1=1 ";
var report = new Stimulsoft.Report.StiReport();
report.loadFile("reports/Report.mrt");
report.dictionary.variables.list.find(x=>x.name == "querySql").val = testeVea;
Code: Select all
var testeVea = "select * from cargo where 1=1 and Descicao = 'teste' ";
var report = new Stimulsoft.Report.StiReport();
report.loadFile("reports/Report.mrt");
report.dictionary.variables.list.find(x=>x.name == "querySql").val = testeVea;
the query is stop and my report return blank.
How make query with filter in string???