on 04-12-2016 12:41 PM
hi,
i have a question on hpw to suppress the firstrow if the value is 0
regards
silent
Hi Silent,
Go to the Section Expert > Highlight the Details Section > Click the formula button beside Suppress and use this code:
shared numbervar x := x + 1;
x = 1 AND {database_field} = 0; //replace {database_field} with the field you wish to check the zeroes for.
-Abhilash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sir thank you for your immediate response , but still i got the same problem , by the way for additional information with regards to my query i display a value into my main report coming from subreport
in my Subreport its like:
with this formula:
Shared NumberVar teu := 0;
teu := Sum ({@TEU});
teu
i put it on RFa and i suppress it
1
2
3
4
5
but when i display it in my main report with this formula:
WhilePrintingRecords;
Shared NumberVar teu := teu;
i put it also this formula to GF in my main report
0
1
2
3
4
theres a zero value on my first row and also no last row
Thank you
regards
silent
You cannot suppress the section that holds the subreport. If you do, the shared variable will not work.
Here's a workaround though:
1) Suppress all sections inside the Subreport
2) Go to the Section Expert > Select the section that holds this Subreport > Check 'Suppress blank section'
3) Right-click the Subreport > Format Subreport > Subreport tab > Check 'Suppress blank Subreport'.
-Abhilash
User | Count |
---|---|
84 | |
10 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.