Unable to Cast the object of binary Function to Unary Function

2 posts, 0 answers
  1. Rehan
    Rehan  avatar
    9 posts
    Member since:
    Jan 2008

    Posted 07 May 2008 Link to this post

    i was working wd telerik Reporting Version 1.0. bt due to designing prob. and some other problem i switched to Telerk Q1 2008 . and facing the the problem
    Unable to Cast the object of binary Function to Unary Function 
    that is written in the resulting text field of  radtextbox which have the following value
     =((PACKING*CARTON)+PIECE) * [UNIT PRICE]

    Packing , Carton ,pieces and Unit price are the db columns and use for other reporting columns.

     bt when i remove all Parenthesis it works f9 wd display bt not for calculated  result.
  2. Svetoslav
    Admin
    Svetoslav avatar
    649 posts

    Posted 07 May 2008 Link to this post

    Hi Rehan,

    This is a known issue that we have introduced with the Q1 2008 version. I can assure you that we have already fixed it and it will be included in the upcoming service pack due in a couple of weeks. The problem appears with expressions that contain brackets. Fortunately you can rewrite your expression  in this way:

    =PACKING*CARTON*[UNIT PRICE] + PIECE*[UNIT PRICE]

    Please accept our apologies for the troubles caused.

    Best wishes,
    Svetoslav
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. DevCraft banner
Back to Top