Suppression
I am using CR XI, Access 2000.
I am dynamically displaying values based on the user selection.
Following is the layout of the report
?Param1 ?Param2 ?Param3 ?Param4 ?Param5 ?Param6
@Col1 @Col2 @Col3 @Col4 @Col5 @Col6
?Param# are parameter accepting MULTIPLE VALUEs.
@col1 formula and the other &col# are the same, except ?Param#
@col1
-------
Select {?Param1}[2]
Case "CONID":totext({TCON.CONID},"00")
Case "CONFNM": {TCON.CONFNM}
Case "CONMNM": {TCON.CONMNM}
Case "CONLNM": {TCON.CONLNM}
Case "CONCMP": {TCON.CONCMP}
Case "CONTPID": {MMISCCD.CDVLDESC}
default: ""
It is grouped by formula @grp1
@grp1
------
Select {?grpParam1}
Case "CONID":totext({TCON.CONID},"00")
Case "CONFNM": {TCON.CONFNM}
Case "CONMNM": {TCON.CONMNM}
Case "CONLNM": {TCON.CONLNM}
Case "CONCMP": {TCON.CONCMP}
Case "CONTPID": totext({TCON.CONTPID})
default: ""
I have 6 sections
GF1a, GF1b,.... GF1f
?Param1 ?Param2 ?Param3 ?Param4 ?Param5 ?Param6
Details @Col1 @Col2 @Col3 @Col4 @Col5 @Col6
GF1a @Count6
GF1b @count5
GF1c @count4
GF1d @count3
GF1e @count2
GF1f @count1
@count6 and all the fomula are the same excecpt the numbers
@count6
-----
Select {?grpParam1}
Case "CONID": count({@col6},{@grp1})
Case "CONFNM": count({@col6},{@grp1})
Case "CONMNM": count({@col6},{@grp1})
Case "CONLNM": count({@col6},{@grp1})
Case "CONCMP": count({@col6},{@grp1})
Case "CONTPID": count({@col6},{@grp1})
default:0
I have a formula @colnumber
@colnumber
---------------
numbervar column1;
numbervar column2;
numbervar column3;
numbervar column4;
numbervar column5;
numbervar column6;
if len({?Param1}[2]) > 0 then column1 := 1;
if len({?Param2}[2]) > 0 then column2 := 1;
if len({?Param3}[2]) > 0 then column3 := 1;
if len({?Param4}[2]) > 0 then column4 := 1;
if len({?Param5}[2]) > 0 then column5 := 1;
if len({?Param6}[2]) > 0 then column6 := 1;
column1+column2+column3+column4+column5+column6;
To suppress the sections GF1 thru GF6 I have in their corresponding section the following code
GF1a-> Suppress-> x+2-> {@colnumber} <> 6
..
.
.
GF1f-->Suppress-> x+2-> {@colnumber} <> 1
My PROBLEM:
These sections are not suppressing the count.
For example, if I pass 4 parameters, This is what I see
?Param1 ?Param2 ?Param3 ?Param4
Details @Col1 @Col2 @Col3 @Col4
GF1c @count4
GF1d @count3
GF1e @count2
GF1f @count1
THIS IS WHAT I EXPECT TO SEE
?Param1 ?Param2 ?Param3 ?Param4
Details @Col1 @Col2 @Col3 @Col4
GF1c @count4
I am sure I am missing something very obvious..
Please advise.
I am using CR XI, Access 2000.
I am dynamically displaying values based on the user selection.
Following is the layout of the report
?Param1 ?Param2 ?Param3 ?Param4 ?Param5 ?Param6
@Col1 @Col2 @Col3 @Col4 @Col5 @Col6
?Param# are parameter accepting MULTIPLE VALUEs.
@col1 formula and the other &col# are the same, except ?Param#
@col1
-------
Select {?Param1}[2]
Case "CONID":totext({TCON.CONID},"00")
Case "CONFNM": {TCON.CONFNM}
Case "CONMNM": {TCON.CONMNM}
Case "CONLNM": {TCON.CONLNM}
Case "CONCMP": {TCON.CONCMP}
Case "CONTPID": {MMISCCD.CDVLDESC}
default: ""
It is grouped by formula @grp1
@grp1
------
Select {?grpParam1}
Case "CONID":totext({TCON.CONID},"00")
Case "CONFNM": {TCON.CONFNM}
Case "CONMNM": {TCON.CONMNM}
Case "CONLNM": {TCON.CONLNM}
Case "CONCMP": {TCON.CONCMP}
Case "CONTPID": totext({TCON.CONTPID})
default: ""
I have 6 sections
GF1a, GF1b,.... GF1f
?Param1 ?Param2 ?Param3 ?Param4 ?Param5 ?Param6
Details @Col1 @Col2 @Col3 @Col4 @Col5 @Col6
GF1a @Count6
GF1b @count5
GF1c @count4
GF1d @count3
GF1e @count2
GF1f @count1
@count6 and all the fomula are the same excecpt the numbers
@count6
-----
Select {?grpParam1}
Case "CONID": count({@col6},{@grp1})
Case "CONFNM": count({@col6},{@grp1})
Case "CONMNM": count({@col6},{@grp1})
Case "CONLNM": count({@col6},{@grp1})
Case "CONCMP": count({@col6},{@grp1})
Case "CONTPID": count({@col6},{@grp1})
default:0
I have a formula @colnumber
@colnumber
---------------
numbervar column1;
numbervar column2;
numbervar column3;
numbervar column4;
numbervar column5;
numbervar column6;
if len({?Param1}[2]) > 0 then column1 := 1;
if len({?Param2}[2]) > 0 then column2 := 1;
if len({?Param3}[2]) > 0 then column3 := 1;
if len({?Param4}[2]) > 0 then column4 := 1;
if len({?Param5}[2]) > 0 then column5 := 1;
if len({?Param6}[2]) > 0 then column6 := 1;
column1+column2+column3+column4+column5+column6;
To suppress the sections GF1 thru GF6 I have in their corresponding section the following code
GF1a-> Suppress-> x+2-> {@colnumber} <> 6
..
.
.
GF1f-->Suppress-> x+2-> {@colnumber} <> 1
My PROBLEM:
These sections are not suppressing the count.
For example, if I pass 4 parameters, This is what I see
?Param1 ?Param2 ?Param3 ?Param4
Details @Col1 @Col2 @Col3 @Col4
GF1c @count4
GF1d @count3
GF1e @count2
GF1f @count1
THIS IS WHAT I EXPECT TO SEE
?Param1 ?Param2 ?Param3 ?Param4
Details @Col1 @Col2 @Col3 @Col4
GF1c @count4
I am sure I am missing something very obvious..
Please advise.