Hi to All,
I want to hide the entire row of a table when the value is null .Is there any expression to hide the row, so there will be no white space is visible on the report.Please help
*This post is locked for comments
thank you DAN for the suggestion
Firstly I check whether the value is coming on the report or not ,When I get the values .....then this is the expression which I write to hide the table
=iif(First(Fields!InvoiceType.Value, "SalesInvoiceDS") = "Yes",true,false)
Have you tried to just print out your new values in the report so you see that it contains the information needed for your expresssion? Sometimes it does not contain the values that you think depending on data type.
If your new fields has the values you want I do not see why you cannot hide a whole table.
/Dan
thanks for the suggestion
but I want to make changes in the question instead of row I want to hide whole table and in table it contains field like gross weight ,qty etc ...........I have tried to add field in the temp table and then make expression for the table visibility ............and tried 3rd point too but it didn't work and invoice type is enum type field...........Please tell me if you got any solution.
Hi Sharabh
I'm agree with Dan.
However, the best option is avoid to insert the records in the temp table that should not be printed.
Hi,
I see several possible options for this:
Hi denis I need your help,
I have another question to ask regarding to hide the lines as the situation is different from the last time,Now the situation is that visibility of line is depend upon the field which is not being used in the report as we have used that field only for condition For e.g If (NumberSequenceGroup::find(numberSeqGroup).InvoiceType == InvoiceType::ABC ) this condition is true then row should be visible .........Is there any expression for this or any other solution for this problem.
thanks Nitesh for the help ..yes I am using RDP class... but I want to hide too many rows thats why I want to use expression
thanks for the help Denis but I have gone through that link before posting the question and I have use that expression but it didn't work instead of that I have use this .... =Fields!Notes.Value = "" ,now it works
I suggest if you are creating report using RDP class then when you are populating data in a temporary table then you can have validation and don't allow inserting records having null value.
Please verify and let me know if this helps
If you handle the records within a Tablix, you can use the "Row Visibility" option and show or hide the row according to a expression.
Have a look at msdn.microsoft.com/.../ms157328.aspx
Search for "Visibility"
Additionally, you could handle the visibility with a Datasource query condition.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 2 Most Valuable Professional
Guy Terry 2 Moderator
Rahul Shah 2