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

Bitwise operation error

1 Answer 63 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 01 Dec 2011, 09:44 PM

I am having a problem with my syntax when I try to use a Bitwise operation.

 

= iif(Fields.test Or 256,’true’,’false’)

I am getting an Type mismatch on ‘Or’ 

What am I doing wrong?

Thanks, Dan

1 Answer, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 02 Dec 2011, 05:20 PM
Hi Dan,

The operators stated as Logical/Bitwise are actually at the moment only Logical and do not support bitwise operations.
What you can do is create you own user function that will take care of the operation and return the result you expect.

We are sorry for the confusion created with the naming of the component.

Best wishes,
Elian
the Telerik team

Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
General Discussions
Asked by
Dan
Top achievements
Rank 1
Answers by
Elian
Telerik team
Share this question
or