Jump to content
We've recently updated our Privacy Statement, available here ×

stored procedures


jeanjenkins

Recommended Posts

 Hi,

I've written some stored procedures for iReports.  I now want to pass iReport parameters to those procedures.  Perhaps write a function I could use in a query, along with the iReport parameters.  Was wondering if anyone else had done this.  

 

Thanks in advance.

 

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Something like that in iReport query :

 

(SELECT dbo.yourProcedure_Function (dataBaseFile.field, $P{iReport_Param1}))

as Name1

 

(select dbo.yourProcedure_Function ($P{iReport_Param1}, $P{iReport_Param2},

$P{iReport_Param3}, $P{iReport_Param4})) as Name2

 

AND

(SELECT dbo.yourProcedure_Function(dataBaseFile.field, $P{iReport_Param1},

$P{iReport_Param2})) = $P{iReport_Param3}

 

AND

dbo.yourProcedure_Function(dataBaseFile.field) = $P{iReport_Param4}

 

Good Luck....

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...