Hi
We are developing a crosstab report in Crystal XI. We are not summarizing as such, just laying the data out in a tabular format. So, I have the result field as a Max value, as it only shows one for each cell in the crosstab.
My data looks something like this:
CREATE TABLE TABLE_A (
PRODUCT_ID NUMBER NOT NULL,
TEST_DESC VARCHAR2 (25),
RESULT NUMBER (4) NOT NULL,
NO_DEC_PLACES NUMBER (2) NOT NULL,
OUT_OF_SPEC VARCHAR2 (4) NOT NULL);
Insert into table_a values (1 , "A" , 210, 0, "YES");
Insert into table_a values (1 , "B" , 11.1, 1, "NO");
Insert into table_a values (1 , "C" , 10 , 0 , "NO");
Insert into table_a values (2 , "A" , 150, 0 , "NO");
Insert into table_a values (2 , "B" , 11.0, 1 , "NO");
Insert into table_a values (2 , "C" , 6 , 0 , "YES");
I want my crosstab to look like this, with the test_desc across the top and the Product IDs down the side :-
| A | B | C
--|-----|------|---
1 | 210 | 11.1 | 10
2 | 150 | 11.0 | 6
I want help with 2 things:
1) I would like to use the no_dec_places value to dynamically format the number of decimal places
2) I would like to use the out_of_spec value to dynamically set the background to a different colour (say CrRed) if value is "YES".
We've looked at GridRowColumnValue but can't get it to work.
If you manage to get it to work, posting an example rpt file would be fantastic. Good Luck!
We are developing a crosstab report in Crystal XI. We are not summarizing as such, just laying the data out in a tabular format. So, I have the result field as a Max value, as it only shows one for each cell in the crosstab.
My data looks something like this:
CREATE TABLE TABLE_A (
PRODUCT_ID NUMBER NOT NULL,
TEST_DESC VARCHAR2 (25),
RESULT NUMBER (4) NOT NULL,
NO_DEC_PLACES NUMBER (2) NOT NULL,
OUT_OF_SPEC VARCHAR2 (4) NOT NULL);
Insert into table_a values (1 , "A" , 210, 0, "YES");
Insert into table_a values (1 , "B" , 11.1, 1, "NO");
Insert into table_a values (1 , "C" , 10 , 0 , "NO");
Insert into table_a values (2 , "A" , 150, 0 , "NO");
Insert into table_a values (2 , "B" , 11.0, 1 , "NO");
Insert into table_a values (2 , "C" , 6 , 0 , "YES");
I want my crosstab to look like this, with the test_desc across the top and the Product IDs down the side :-
| A | B | C
--|-----|------|---
1 | 210 | 11.1 | 10
2 | 150 | 11.0 | 6
I want help with 2 things:
1) I would like to use the no_dec_places value to dynamically format the number of decimal places
2) I would like to use the out_of_spec value to dynamically set the background to a different colour (say CrRed) if value is "YES".
We've looked at GridRowColumnValue but can't get it to work.
If you manage to get it to work, posting an example rpt file would be fantastic. Good Luck!