Hi,
Using a CR10 stored proc. against Oracle 9i.
I have the following formula (@BuildSDSE):
I have a number of groups in the report, one of which contains a crosstab. One of the rows in the crosstab is the formula (@Number):
Therefore, as one of the rows in the crosstab I'm trying to display the following over 3 lines:
Mean
SD
n
(or SE where the SD is). Unfortunately, the formula in the crosstab does not pick up the 'standard' variable, so SD or SE are not displayed, i.e.
Mean
n
The thing is, if I put the same formula into the same group as the crosstab, but independently of the crosstab, the formula is displayed correctly, as per the first example above.
What am I doing wrong?
Thanks, Gavin
Using a CR10 stored proc. against Oracle 9i.
I have the following formula (@BuildSDSE):
Code:
whileprintingrecords;
global stringvar standard;
if {GET_CONTRIBUTION_PAGE.CM_ITEM_REF} = "Standard_Deviation" then
standard := "SD"
else if {GET_CONTRIBUTION_PAGE.CM_ITEM_REF} = "Standard_Error" then
standard := "SE"
I have a number of groups in the report, one of which contains a crosstab. One of the rows in the crosstab is the formula (@Number):
Code:
whileprintingrecords;
global stringvar standard;
" Mean" & Chr(13) & " " & standard & Chr(13) & " n"
Therefore, as one of the rows in the crosstab I'm trying to display the following over 3 lines:
Mean
SD
n
(or SE where the SD is). Unfortunately, the formula in the crosstab does not pick up the 'standard' variable, so SD or SE are not displayed, i.e.
Mean
n
The thing is, if I put the same formula into the same group as the crosstab, but independently of the crosstab, the formula is displayed correctly, as per the first example above.
What am I doing wrong?
Thanks, Gavin