Can anyone help me to find out how can I get data from oracle db into crystal report passing a parameter from the crystal report to be used in the selection criteria.
For example: I want to build a summary data from table1 based on Date parameter, also building another summary data from table2 based on the same Date parameter, then I want to join the two summary data and return them to crystal reports.
What I did is I used two Crystal SQL Commands to generate the two desired summary data and joined them in crystal, but when I run the report it was unacceptably slow. I noticed when I use only one SQL comand the report's performance is very good, but it dramatically change when you joing the SQL command with any other object (table or another SQL command!.
So I want to build the two summary data and join them in oracle server side rather than in crystal.
Can anyone help me how can I achieve it in oracle?
I am using Crystal reports 10, and Oracle 8i
Dana;
For example: I want to build a summary data from table1 based on Date parameter, also building another summary data from table2 based on the same Date parameter, then I want to join the two summary data and return them to crystal reports.
What I did is I used two Crystal SQL Commands to generate the two desired summary data and joined them in crystal, but when I run the report it was unacceptably slow. I noticed when I use only one SQL comand the report's performance is very good, but it dramatically change when you joing the SQL command with any other object (table or another SQL command!.
So I want to build the two summary data and join them in oracle server side rather than in crystal.
Can anyone help me how can I achieve it in oracle?
I am using Crystal reports 10, and Oracle 8i
Dana;