4programming
Programmer
Using crystal reports XI with oracle 9.2 stored procedure. I have one parameter in the stored procedure called status, that is an IN parameter. Now when I run a crystal report with that stored procedure I get prompted for that parameter. In my stored procedure I also have function that will allow the user to enter multiple values separated by a comma. So for this situation when a user runs this report he gets a prompt to enter status and the user can enter just 1 value or multiple values separated by a comma. So for this situation let’s say he/she entered 1,2,4. Here is my issue
1) How do I get those integer values to show description equivalents? What I mean is 1 should be defined as “New”, 2 should be defined as “Open”, and 4 should be defined as “Closed”. The value for status is stored as an integer in the database so this is why I have to translate it. How would I do this?
2) I need to place this parameter in the Page Footer of the report. So if I place this parameter right now I get 1 value which in this case is number 1. Without answering question 1, I want the page footer to not only show all the values (1,2,4) but there descriptor equivalent. So it should show, New, Open and Closed if the user selects 1,2,4. Any ideas?
Thanks very much.
1) How do I get those integer values to show description equivalents? What I mean is 1 should be defined as “New”, 2 should be defined as “Open”, and 4 should be defined as “Closed”. The value for status is stored as an integer in the database so this is why I have to translate it. How would I do this?
2) I need to place this parameter in the Page Footer of the report. So if I place this parameter right now I get 1 value which in this case is number 1. Without answering question 1, I want the page footer to not only show all the values (1,2,4) but there descriptor equivalent. So it should show, New, Open and Closed if the user selects 1,2,4. Any ideas?
Thanks very much.