﻿<?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?)  » Data binding [flag] enum</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 05:50:57 GMT</lastBuildDate><ttl>20</ttl><item><title>Data binding [flag] enum</title><link>http://forum.strataframe.net/FindPost12743.aspx</link><description>Hi,&lt;br&gt;
I would like to use flag enum to store combination of multiple values. How could I find to checkbox for this?&lt;br&gt;
&lt;br&gt;
Thank you</description><pubDate>Mon, 19 Nov 2007 12:16:02 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Data binding [flag] enum</title><link>http://forum.strataframe.net/FindPost12787.aspx</link><description>One possibility to handle this logic would be to handle it with custom field properties. Add custom field properties which set or clear the flag in the main, db linked, bitwise enum field. You could then directly link these custom fields to the bitwise enum field.</description><pubDate>Mon, 19 Nov 2007 12:16:02 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Data binding [flag] enum</title><link>http://forum.strataframe.net/FindPost12776.aspx</link><description>It sounds like you are trying to create a bitwise enum using the Flag attribute.&amp;nbsp; This is a very good approach when you may want to store multiple values into a single integer field.&amp;nbsp; Binding to a checkbox is going to have to be something done on your side and totally depends on your logic.&amp;nbsp; By deafult, this logic will not work as a checkbox is a Boolean which is a Bit or only supports 0 and 1.&amp;nbsp; Since your enum will already exceed this logic, you may be better suited going with a combo box or a checked list box.&amp;nbsp; Something of that nature.</description><pubDate>Mon, 19 Nov 2007 10:07:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>