Telerik Reporting IIF Function Error

2 posts, 0 answers
  1. Ebenezer
    Ebenezer avatar
    39 posts
    Member since:
    Dec 2012

    Posted 27 Jan 2014 Link to this post

    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                                                          

                                                                                                                                               
  2. Ebenezer
    Ebenezer avatar
    39 posts
    Member since:
    Dec 2012

    Posted 28 Jan 2014 in reply to Ebenezer Link to this post

    Fixed.
Back to Top