by jollt » Fri Aug 05, 2011 1:50 pm
Hi Bo,
I use an API I develop to open the reports in DAI which works correctly.
The report I try to access was working this morning, I just change my sql request :
This morning I use :
select GlobRisReport.* from table (GLOB_RIS_REPORT(43, 'FRANCAIS', 683)) GlobRisReport
Then I add a parameter to my stock procedure : @userid
select GlobRisReport.* from table (GLOB_RIS_REPORT(43, 'FRANCAIS', 683,'@userid')) GlobRisReport
If I execute this request on DAI (database menu), it works
If I execute the report based on this request on DAI, it works
If I call the report from my application with this request, I have the sql error
I use this syntax with orther reports and othe stock procedure and it works
Regards,
Jérôme