show image in ssrs report according to no yes value in field

i am creating SSRs Report and in logic i have 2 fields bank payment and cheque payment.

so if payment type = bank payment then

it should show image bank on report

or if payment type is cheque then it should show cheque image

At process report i have written logic

and values are coming correctly in tmp table but images are not printing accordingly

i tried severel scenarios …

kindly help

==

if (VendPaymModeTable::find(ledgerjournaltrans.PaymMode).LtBankPayment == NoYes::Yes)

{

LTPaymentRequestTableTmp.ShowBankImage = true;

}

else

{

LTPaymentRequestTableTmp.ShowBankImage = false ;

}

if (VendPaymModeTable::find(ledgerjournaltrans.PaymMode).LtChequePayment == NoYes::Yes)

{

LTPaymentRequestTableTmp.ShowCheckImage = true;

}

else

{

LTPaymentRequestTableTmp.ShowCheckImage = false;

}

HI ,

Please give some more info like is it Auto design or Precision design ? image should come in a column or separately like logo ?

?Hi Vinoth

It is Precision design

and as there is no any option in Visual studio so that we can add check box to our ssrs report

so i added 2 images for checked box and unchecked box

sand i write code which i mentioned above to insert values

and

problem is with field expressions at design level if there is data in image then image should print otherwise not

Hi Hemanth,

You can do it through Image properties in your design.

Go to the respective image , properties, visibility and give your condition in the expression.