Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

True False

Posted 17 Feb 2005 20:59:52
1
has voted
17 Feb 2005 20:59:52 Kevin Peters posted:
Sorry if this has been discussed before. How do you display YES & NO answers instead of TRUE & FALSE? I have a simple Access database some answers are input via a radio button. It is these answers that I wish to display as YES & NO. Many thanks.

Replies

Replied 17 Feb 2005 23:24:16
17 Feb 2005 23:24:16 Jeremy Conn replied:
You could do something simple like tell the page to show 'Yes' if the DB value is 'True'...

<b>EXAMPLE</b>
&lt;% If rsRecordset.Fields.Item("SomeCoolValue".Value = (true) Then %&gt;
Yes
&lt;% End If %&gt;

<b>Connman21</b>
www.conncreativemedia.com
<b>DEVELOPMENT SETUP</b>
DWMX 2004 Studio
Web Server: IIS5
DB: Access2003/SQL2000
OS: XP Pro
Language: ASP/VB
Replied 19 Feb 2005 10:49:22
19 Feb 2005 10:49:22 Kevin Peters replied:
Many thanks Jeremy, that has done the trick.

Reply to this topic