<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86521.aspx</link><pubDate>Mon, 28 Jan 2013 18:55:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86521</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86521.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86521</wfw:commentRss><description>And it sounds like your actual data, from your earlier post is 1 / 0? I think you&amp;#39;ll have to modify the view file to use 1 &amp;amp; 0 for the values for the control in order to have your checkbox display correctly. Another option would be just use a section for this with a couple of characters that look like a selected or deselected checkbox (Wingdings þ for checked, o for blank) and show / hide them based on whether your secondary data is 1 or 0 - depends on whether you need the checkbox to be functional or if it is just for display....</description></item><item><title>Re: Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86520.aspx</link><pubDate>Mon, 28 Jan 2013 18:22:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86520</guid><dc:creator>thomas.george</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86520.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86520</wfw:commentRss><description>True and False.</description></item><item><title>Re: Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86509.aspx</link><pubDate>Mon, 28 Jan 2013 16:20:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86509</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86509</wfw:commentRss><description>2DS is shorthand for secondary data source. If you right click the checkbox, what are the checked and cleared values for the control?</description></item><item><title>Re: Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86476.aspx</link><pubDate>Sat, 26 Jan 2013 09:19:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86476</guid><dc:creator>thomas.george</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86476.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86476</wfw:commentRss><description>&lt;p&gt;Hi Hillary,&lt;/p&gt;
&lt;p&gt;Thanks for your response!&lt;/p&gt;
&lt;p&gt;I kept the default values, which I believe are True/False; when I change the viewing form&amp;#39;s controls from checkbox to text field, the value is displayed as 1 &amp;amp; 0 (true and false, respectively), since I can see the values update in the SharePoint list, I know the data entry form is working, and since the text field&amp;#39;s are reporting the data correctly (albeit as 1s and 0s), I know the data connection and viewing forma are working; this behavior/issue seems to be unique to check boxes.&lt;/p&gt;
&lt;p&gt;Q: Will changing the values to Yes/No (vice True/False) in&amp;nbsp;the source files&amp;nbsp;result in the viewing form&amp;#39;s radio boxes&amp;nbsp;being updated to reflect the&amp;nbsp;controls&amp;nbsp;as being checked or unchecked?&lt;/p&gt;
&lt;p&gt;Q: What&amp;#39;s a 2DS?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;</description></item><item><title>Re: Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86468.aspx</link><pubDate>Sat, 26 Jan 2013 00:28:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86468</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86468.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86468</wfw:commentRss><description>&lt;p&gt;What are the values on the checkboxes? That is, if you right click the checkbox and look under properties, what is the value that indicates checked and what is the value for unchecked? I added a checkbox to a template bound to a 2DS and the values for checked and cleared are &amp;#39;yes&amp;#39; and &amp;#39;no&amp;#39; - you can modify this in the source files for the form - I don&amp;#39;t think there is any way to do it in the UI.&lt;/p&gt;</description></item><item><title>Bind a checkbox to secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/86401.aspx</link><pubDate>Fri, 25 Jan 2013 09:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86401</guid><dc:creator>thomas.george</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86401.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=86401</wfw:commentRss><description>&lt;p&gt;I need to bind&amp;nbsp;the check box in a read-only view form to a secondary data source so that it reflects their changing values with form refreshes.&amp;nbsp; So far, I have an input form which popluates a form library, and overwirites the exsiting data with&amp;nbsp;values submitted by a web-based InfoPath form.&lt;/p&gt;
&lt;p&gt;Next, I&amp;#39;d like to be able to display the current values from the form library in a similar form, that is used only for displaying the data (read-only); the problem I&amp;#39;m having, is that even though the new read-only view form is connected to the secondary data source, and I have added a number of check box fields from the secondary data source to the new form, the check boxes don&amp;#39;t reflect the values stored in the form library, unless I change them to text fields (which then reflects&amp;nbsp;0 or 1, depending on the current value of the data stored in the form library).&lt;/p&gt;
&lt;p&gt;Since this is essentially a check list, all of the&amp;nbsp;controls are check&amp;nbsp;boxes; the input functionality is working&amp;nbsp;fine, as is the data connection, and the read-only view&amp;#39;s binding to the secondary data seems effective. The problem I&amp;#39;m having, is the check box does not update (checked or unchecked) to reflect this same data.&lt;/p&gt;
&lt;p&gt;Thanks, in advance!&lt;/p&gt;
&lt;p&gt;Thomas&lt;/p&gt;</description></item></channel></rss>