How to set parameter and run in the report designer / through php?
Posted: Wed Jun 13, 2012 2:20 am
I set the SQL in the Query Text of Designer
=> SELECT * FROM loaninfo where id = {loanid}
This parameter {loanid} is created by myself. When I preview the report in the designer, it gets the error
"Report Rendering Message.
Parser error: The name 'loanid' does not exist in the current context".
But it can work if I run through PHP on URL
http://localhost/lms/reports/stimulsoft ... iable1=ABC EFG&loanid=3
Is any mistake in my report? Thanks.
=> SELECT * FROM loaninfo where id = {loanid}
This parameter {loanid} is created by myself. When I preview the report in the designer, it gets the error
"Report Rendering Message.
Parser error: The name 'loanid' does not exist in the current context".
But it can work if I run through PHP on URL
http://localhost/lms/reports/stimulsoft ... iable1=ABC EFG&loanid=3
Is any mistake in my report? Thanks.