Expected Outcome
---------------------------------------------------------------------
| Number | Error Message |
--------------------------------------------------------------------
Company A
----------------------------------------------------------------------
|1234567 | Amount must be bigger than 0 |
---------------------------------------------------------------------
Company B --GroupHeader with company name
--------------------------------------------------------------------
|19457545 | Amount must be bigger than 0 | --group header2 with Fields number & error
-------------------------------------------------------------------
Current Outcome
---------------------------------------------------------------------
| Number | Error Message |
--------------------------------------------------------------------
Company A
----------------------------------------------------------------------
|1234567 | Amount must be bigger than 0 |
---------------------------------------------------------------------
Company B --GroupHeader with company name
--------------------------------------------------------------------
|19457545 | Amount must be bigger than 0 | --groupheader2 with Fields number&error
------------------------------------------------------------------
Company C
-----------------------------------------------------------------
|19457545 | this field appears empty, is (not null) |
-----------------------------------------------------------------
Company C group header must be disabled along with
group header 2 if the Error message field appears blank .
Im trying to use a condition in the properties of the header 2 to if blank put $ and disable field
like so:
IIF(Length(Trim(MSPOutput_2.GRVERRORMESSAGE)) <= 0,"$",MSPOutput_2.GRVERRORMESSAGE)
I get error on run
The error of compilation
The error of compilation is found in the 'Conditions' property of the 'GroupHeaderBand2' component:
Cannot implicitly convert type 'object' to 'bool'. An explicit conversion exists (are you missing a cast?)
Disable group if group value is Empty
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Disable group if group value is Empty
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Disable group if group value is Empty
I Solved my issue , Thank you for your response.
-
- Posts: 6198
- Joined: Tue Mar 20, 2018 5:34 am
Re: Disable group if group value is Empty
Hello,
You are welcome.
You are welcome.