Hi.
We have a custom program here that will create a table according to a selection of a parameter and then run a crystal report on that table.
My Question is , can I get the pre stored procedure value to the crystal report so it can select the columns i want?
For example can I run the stored procedure that fills the table with an output parameter (like 1,2,3) and then crystal report can view the table but also get the stored procedure output parameter and do a selection according to that parameter?
I haven't used CR like this for quite a long time so I would appreciate any help.
That bottom line is:
Custom program (not ours), runs an insert stored procedure, I would try to find how to output a value from that stored procedure.
Crystal reports must view the table data by that outputed stored procedure, or if you can think any other way I would appreciate that.
If this is not possible then I suppose I can create a parameter filed and prompt the user to select a value from this.
The problem is that the values would be in the same table multiple times so:
Table XX
-x- -y- -n-
-1- -2- -1-
-1- -2- -1-
-1- -4- -1-
-1- -2- -2-
So the n value would be 1,1,1,2 but what i need is the distinct values (1,2) .
Is there some way to group the values from the specific 'n' field of the table XX view data i select the report, in crystal reports
So i would get prompt to select a value from column "n" in table XX (1 or 2) and by selecting that i would show all the values of table XX that n= (1 or 2)
Thanks.