﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Checkbox data binding</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 09:28:39 GMT</lastBuildDate><ttl>20</ttl><item><title>Checkbox data binding</title><link>http://forum.strataframe.net/FindPost779.aspx</link><description>I have a db column defined as char(1) that I want to bind to a checkbox.&amp;nbsp; When retrieving a row if the value is 'Y', the checkbox should be checked.&amp;nbsp; For any other value the checkbox should be unchecked.&amp;nbsp; When inserting/updating&amp;nbsp;the row if the checkbox is checked the value should be 'Y'.&amp;nbsp; For unchecked, the value can be 'N'.&amp;nbsp; If this isn't possible, what datatype should be used.&amp;nbsp; Thanks!! :unsure:</description><pubDate>Fri, 07 Apr 2006 09:50:07 GMT</pubDate><dc:creator>franka</dc:creator></item><item><title>RE: Checkbox data binding</title><link>http://forum.strataframe.net/FindPost780.aspx</link><description>Frank,&lt;/P&gt;&lt;P&gt;If you want to use this type of functionality you can, but it will take a little work.&amp;nbsp; The most common data type used for a checkbox is a bit or some type of integer data type.&amp;nbsp; You can use the smallest available integer data type and it will work.&amp;nbsp; If you want to use a character value, you will have to modify some properties and change how the control interacts with the data slightly.&amp;nbsp; If you already have some existing databases that you will have to interact with and it will be&amp;nbsp;difficult to change the data structure itself, then you may want to invest some time and modify a checkbox control to meet your needs.&amp;nbsp; Let me know if this is the direction you choose to go.</description><pubDate>Fri, 07 Apr 2006 09:50:07 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>