This is a migrated thread and some comments may be shown as answers.

Telerik Reporting IIF Function Error

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ebenezer
Top achievements
Rank 1
Ebenezer asked on 28 Jan 2014, 02:51 AM
I am trying to print three statements using the following expression, but getting Error: "An error has occurred while processing TextBox 'textBox5':
An error has occurred while executing function Len(). Check InnerException for further information". when the third statement is added.

=IIf(Len(Fields.Ledger2)>0,Trim(Fields.Ledger2) +'.','')    =Fields.Title1
                                                                                          =Fields.Statement1 
                                                                                          =Fields.Type1 <------------------- Error when this statement is added


 This statement  below works fine. What am I missing? Any help will be appreciated see screenshot

=IIf(Len(Fields.Ledger2)>0,Trim(Fields.Ledger2) +'.','')    =Fields.Title1   
                                                                                          =Fields.Statement1                                                          

                                                                                                                                           

1 Answer, 1 is accepted

Sort by
0
Ebenezer
Top achievements
Rank 1
answered on 28 Jan 2014, 03:33 PM
Fixed.
Tags
General Discussions
Asked by
Ebenezer
Top achievements
Rank 1
Answers by
Ebenezer
Top achievements
Rank 1
Share this question
or