<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>9 Jun 2015 21:28:00 Z</lastBuildDate><pubDate>9 Jun 2015 14:08:00 Z</pubDate><description>Hello All,&#13;
&#13;
I have a window with a checkbox that asks a question "Are Inventory Items Taxed?". When check box is checked (ticked), it is store as 1 (one), when unchecked, it is stored as 0 (zero). The field in the file is an integer field size 1. The field name is isinvtax. I used mysql.&#13;
&#13;
When data in mysql field isinvtax is 1 (one) and I test for it like this;&#13;
&#13;
If isinvtax=1 THEN&#13;
info("One")&#13;
ELSE&#13;
info("Zero")&#13;
END&#13;
&#13;
I get Zero. I have checked over and over and cant seem to find what is wrong.&#13;
&#13;
I will appreciate any help.&#13;
&#13;
Sam</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp</link><title>Problem testing Result of checkbox</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52643/read.awp</comments><pubDate>9 Jun 2015 21:28:00 Z</pubDate><description>Hi Sam&#13;
&#13;
so it looks like you are setting the record fields values in RADSave, probably by a screenToFile... have you checked t…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52643/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52643/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp">Problem testing Result of checkbox</source><title>Re: Problem testing Result of checkbox</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52638/read.awp</comments><pubDate>9 Jun 2015 18:36:00 Z</pubDate><description>Hello Fabrice,&#13;
&#13;
I am using version 12.&#13;
&#13;
The saving bit is simple as below;&#13;
&#13;
SWITCH Left(ExtractString(gsWindowMode,1,"="),…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52638/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52638/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp">Problem testing Result of checkbox</source><title>Re: Problem testing Result of checkbox</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52636/read.awp</comments><pubDate>9 Jun 2015 17:00:00 Z</pubDate><description>Hello Al,&#13;
&#13;
I am using version 12 and its not a multi question checkbox.</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52636/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52636/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp">Problem testing Result of checkbox</source><title>Re: Problem testing Result of checkbox</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52621/read.awp</comments><pubDate>9 Jun 2015 15:02:00 Z</pubDate><description>Hello Sam&#13;
&#13;
you are not showing us the code that writes in the file... that may be it!&#13;
&#13;
Best regards</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52621/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52621/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp">Problem testing Result of checkbox</source><title>Re: Problem testing Result of checkbox</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52619/read.awp</comments><pubDate>9 Jun 2015 14:47:00 Z</pubDate><description>Hello Sam&#13;
&#13;
Is it a multi question tickbox ?&#13;
If so you will need to reference the subscript of the control question as&#13;
If IsI…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52619/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox-52619/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/52617-problem-testing-result-checkbox/read.awp">Problem testing Result of checkbox</source><title>Re: Problem testing Result of checkbox</title></item></channel></rss>
