Try This:
Dim strBoolText As String
Dim blnValue As Boolean = False
*or*
Dim blnValue As Boolean = True
strBoolText = IIf(blnValue, "Yes", "No")
If blnValue is False, strBoolText = "No", if blnValue is True, strBoolText =
"Yes"
==============================================
Happy To Help,
Tom Spink
http://dotnetx.betasafe.com >> VB, VB.NET, C#, C++ Code
Please respond to the newsgroups, so all can benefit.
One day
Quote:
> Hi!
> What format style can you use to format boolean values to Yes/No? I tried
> the predefined numeric format but it doesn't work. TIA
> -Wes Go