Page 1 of 1
Hide / Show fields and formula under condition
Posted: Thu Feb 09, 2012 5:03 am
by Girasole
Good morning at all!
I have a report where something fields (8) are populate with db query and one with formula.
When I call the report from my vb.net project, if "Condition=false" then I want to hide 4 of this fields and that calculated.
How can I resolve my problem?
Thank you.
Hide / Show fields and formula under condition
Posted: Thu Feb 09, 2012 7:09 am
by HighAley
Hello.
Girasole wrote:Good morning at all!
I have a report where something fields (8) are populate with db query and one with formula.
When I call the report from my vb.net project, if "Condition=false" then I want to hide 4 of this fields and that calculated.
How can I resolve my problem?
You could set the condition of these 4 components and remove Enabled checkbox.
Thank you.
Hide / Show fields and formula under condition
Posted: Thu Feb 09, 2012 7:15 am
by Girasole
Thank you for your reply.
I need to do this by writing code vb.net. It's possible?
Thank you
Hide / Show fields and formula under condition
Posted: Fri Feb 10, 2012 3:04 am
by HighAley
Hello.
Girasole wrote:Thank you for your reply.
I need to do this by writing code vb.net. It's possible?
Please, try to use next code for each component:
Code: Select all
rep.GetComponentByName("Text11").Enabled = false
Thank you.