I am trying to check a yes no field and display Personal and Business.
I have tried If, Then Statement
And tried IIF statement. Neither is working. Could someone look at this and give a hand in figuring out why it will not work.
I create an unbound label named Typelbl. I am referencing a Yes/No box.
If Yes/No.value = Yes Then
Typelbl.Caption = Personal
Else
Typelbl.Caption = Business
Endif
This doesn't work and I have also tried:
=IIF([Yes/No]="yes","Personal","Business")
That still didn't work.
I have tried putting the code in the report open(), Label AfterUpdate() and a variety of other places and still it isn't working.
I have tried If, Then Statement
And tried IIF statement. Neither is working. Could someone look at this and give a hand in figuring out why it will not work.
I create an unbound label named Typelbl. I am referencing a Yes/No box.
If Yes/No.value = Yes Then
Typelbl.Caption = Personal
Else
Typelbl.Caption = Business
Endif
This doesn't work and I have also tried:
=IIF([Yes/No]="yes","Personal","Business")
That still didn't work.
I have tried putting the code in the report open(), Label AfterUpdate() and a variety of other places and still it isn't working.