Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

"[BC30201] Expression expected" error

$
0
0

Hi There,

 

I have two conditions, both of which is build using the Iif statement, i am using these two on the visibility on a header of a sub report and i want the report to react on the applicable condition.

Basically i have a number of booking type and i want the system to react a certain way when it is two specific booking types and else react a different way

These are the two statements:

=IIf(Count(Fields!admin_booking_type.Value)> 0,IIF((fields!booking_type.value) = "H" or fields!booking_type.Value = "C" ,False,True),True)

=IIF(previous(fields!booking_type.value) = fields!booking_type.value,IIF(previous(Fields!dptr_date.Value) = Fields!dptr_date.Value ,true,false),FALSE)


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>