Jump to content
We've recently updated our Privacy Statement, available here ×

How to display Y as Yes OR N as NO?


2004 IR Help

Recommended Posts

By: Dharmendra Sharma - dkumar_sharma

How to display Y as Yes OR N as NO?

2004-11-15 03:09

Hi All,

 

I want to display the value for textfield, If Y then Yes or if N then NO.

Please any one help me out on this.

 

 

thanks and regards,

dkumar_sahrma

 

 

 

 

By: Andrew McLaughlin - pik0

RE: How to display Y as Yes OR N as NO?

2004-11-15 09:02

Use a simple in-line expression:

 

textfield.equalsIgnoreCase( "Y" ) ? "Yes" : "No"

 

Piko

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...