sparky2708
Programmer
I am trying to find out how to use functions in reports. I am running my reports off of an MSSQL dbserver. FYI MSSQL has these things called functions which are the same as stored procedures but they have the ability to return a table.
A lot of the queries that I make always involve this one subquery but I need to pass it parameters like year and period. So I was thinking of making this query into a function cause then I can do:
select FuncTable.data, MyTable2.data, ...
from function_name(year, period) FuncTable, table2 MyTable2, ...
where ...
How do I do this through Crystal Reports? How do I do this functionality in Crystal Reports
A lot of the queries that I make always involve this one subquery but I need to pass it parameters like year and period. So I was thinking of making this query into a function cause then I can do:
select FuncTable.data, MyTable2.data, ...
from function_name(year, period) FuncTable, table2 MyTable2, ...
where ...
How do I do this through Crystal Reports? How do I do this functionality in Crystal Reports