sql server - Bit conversion not working in SSRS report -


i'm working on ssrs report. have dataset returns below values.

enter image description here

now wanted change color of data field on bases of bit.

i tried below, no success. shows false in report.

=iif(cbool(fields!isauthorized.value)=true,"blue","black") =iif(cint(fields!isauthorized.value)=1,"blue","black") =iif(fields!isauthorized.value=1,"blue","black") 

below image show isauthorized.value on data field.

enter image description here

please me!

have here..

http://www.sqlservercentral.com/forums/topic1459800-1063-1.aspx

for example:

=iif( fields!isstate.value <> 0 , fields!regionid.value <>"12","yes","no") 

so yours should like:

=iif( fields!isauthorized.value <> 0 ,black,blue) 

this should cover it.


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -