This topic is locked

Show Yes AND No in list view

8/7/2009 3:23:44 AM
ASPRunnerPro General questions
R
rgke author

I have a field which is either Yes or No (boolean). In the list view, I want the value to display as Yes (if true) and No (if not). However, it seems only Yes and blank is displayed.
Is there anyway of making No appear? An explicit "No" is much clearer than a blank entry

J
Jane 8/7/2009

Hi,
use custom format on the"View as" settings dialog on the Visual Editor tab.

Here is a sample:

if strValue=-1 then

strValue = "Yes"

else

strValue = "No"

end if

R
rgke author 8/7/2009

Hi,

use custom format on the"View as" settings dialog on the Visual Editor tab.

Here is a sample:


I did try this earlier, but everytime I go back into the project it insists on ignoring my custom settings and describing it as a checkbox. Whatever I do it will not put the No value on the display.

R
rgke author 8/7/2009



I did try this earlier, but everytime I go back into the project it insists on ignoring my custom settings and describing it as a checkbox. Whatever I do it will not put the No value on the display.


Have raised as a support ticket and uploaded files

C
clig 8/15/2009



Have raised as a support ticket and uploaded files


x2 with a simialar scenario albeit v 5.2

J
John 8/16/2009

Pls post the fix once available.
Thx
JD

R
rgke author 8/16/2009

Pls post the fix once available.

Thx
JD


Turns out it is a bug but can be resolved like this:
To make your pages working use open generated include/commonfucntions.asp file, find and remove this code:

--------------------------------

if IsFalse(ret) then

GetDataInt = ""

Exit Function

end if