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

Unable to Cast the object of binary Function to Unary Function

1 Answer 48 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rehan
Top achievements
Rank 1
Rehan asked on 07 May 2008, 07:25 AM
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.

1 Answer, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 07 May 2008, 03:15 PM
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
Tags
General Discussions
Asked by
Rehan
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Share this question
or