<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Adding a true/false value into secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/45093.aspx</link><pubDate>Tue, 28 Jul 2009 15:45:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45093</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45093</wfw:commentRss><description>&lt;p&gt;You can save your form as source files and open the schema file for the secondary data source (.xsd -- depending on your secondary data source type, you may have to do a little looking to find the right one) in a text editor. Then, find the element you wish to change -- it will have the data type xsd:string. You can change that to xsd:boolean. You may also want to add the &amp;#39;nil &amp;#39; attribute to it by including nillable=&amp;quot;true&amp;quot;. &lt;/p&gt;
&lt;p&gt;So, your element would change from:&lt;/p&gt;
&lt;blockquote&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt; &lt;font color="#a31515" size="2"&gt;xsd:element &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt; &lt;font size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Warnings&lt;/font&gt;&lt;font size="2"&gt;&amp;quot; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;type&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt; &amp;quot;&lt;font color="#0000ff" size="2"&gt;xsd:string&amp;quot;&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;/&lt;/font&gt; &lt;font color="#a31515" size="2"&gt;xsd:element&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt; &lt;/font&gt;&lt;/blockquote&gt;
&lt;p&gt;to:&lt;/p&gt;
&lt;blockquote&gt;&lt;font color="#0000ff" size="2"&gt;&amp;lt;&lt;/font&gt; &lt;font color="#a31515" size="2"&gt;xsd:element &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;name&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt; &lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;Warnings&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;type&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt; &lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;xsd:boolean&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot; &lt;/font&gt;&lt;font color="#ff0000" size="2"&gt;nillable&lt;/font&gt; &lt;font color="#0000ff" size="2"&gt;=&lt;/font&gt; &lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;true&lt;/font&gt;&lt;font color="#000000" size="2"&gt;&amp;quot;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&amp;lt;/&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;xsd:element&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&amp;gt;&lt;/font&gt; &lt;/blockquote&gt;
&lt;p&gt;As an example.&lt;/p&gt;</description></item><item><title>Re: Adding a true/false value into secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/45069.aspx</link><pubDate>Tue, 28 Jul 2009 06:47:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:45069</guid><dc:creator>mobrien118</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/45069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=45069</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Was this ever solved?&lt;/p&gt;&lt;p&gt;I&amp;#39;m looking for a similar&amp;nbsp; solution.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;--mobrien118 &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Adding a true/false value into secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/40527.aspx</link><pubDate>Sat, 11 Apr 2009 15:45:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40527</guid><dc:creator>nebock</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40527.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40527</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;The latter was what I&amp;#39;m looking for actually.&amp;nbsp; I&amp;#39;ve tried filtering for yes values instead of true values and for some reason it&amp;#39;s not populating the text box I need it to.&amp;nbsp; Although, I suppose that could have something to do with my formula.&lt;/p&gt;&lt;p&gt;I didn&amp;#39;t put the true/false values in the data source simply because I&amp;#39;m not 100% on how.&amp;nbsp; This is project got dropped on me and I have no experience with XML.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Adding a true/false value into secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/40526.aspx</link><pubDate>Sat, 11 Apr 2009 14:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40526</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40526.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40526</wfw:commentRss><description>&lt;p&gt;If you wanted the &lt;strong&gt;value&lt;/strong&gt; attribute to have true/false values I have to wonder why you didn&amp;#39;t put true/false values in the sample data.&amp;nbsp; Nonetheless, I admit that that probably wouldn&amp;#39;t have helped in this situation.&amp;nbsp; You have two options here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Filter the rows using yes/no values instead of true/false values.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Modify the secondary data source&amp;#39;s schema to specify that the attribute should have a boolean value.&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;The first option is considerably simpler, but I can explain how to do the latter if you are interested.&lt;/p&gt;</description></item><item><title>Adding a true/false value into secondary data source</title><link>https://www.infopathdev.com:443/forums/thread/40525.aspx</link><pubDate>Sat, 11 Apr 2009 02:02:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:40525</guid><dc:creator>nebock</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/40525.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=40525</wfw:commentRss><description>&lt;p&gt;I have a repeating table that I&amp;#39;m using a secondary data source to populate because I have 100s of entries for the table.&amp;nbsp; I have it set up in a handmade multi select box and need to concatenate all the boxes that are checked into a text box in a different view.&amp;nbsp; I got this to work using a formula with manual entries in the repeating table but doing it this way would take forever and so I&amp;#39;m thinking that&amp;nbsp;I need to make a data source that will establish both the true/false checkbox AND the item to be selected, I have the items down, just not the true/false checkbox.&amp;nbsp; Any ideas? &lt;/p&gt;
&lt;p&gt;&amp;nbsp;My data source is currently like this&lt;/p&gt;
&lt;p&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&lt;br /&gt;&amp;lt;SelectedCompounds&amp;gt;&lt;br /&gt;&amp;lt;text value=&amp;quot;compound1&amp;quot;&amp;gt;compound1&amp;lt;/text&amp;gt;&lt;br /&gt;&amp;lt;text value=&amp;quot;compound2&amp;quot;&amp;gt;compound2&amp;lt;/text&amp;gt;&lt;/p&gt;
&lt;p&gt;It creates a data source like the following&lt;/p&gt;
&lt;p&gt;SelectedCompounds (group) / text (repeating field) / value&lt;/p&gt;
&lt;p&gt;And creates a table with two columns that are both populated with the same data, value and text, I want the value column, instead of matching the text column as it does not to be true/false checkboxes.&amp;nbsp; I&amp;#39;ve tried doing a &amp;#39;changeto&amp;#39; and making them check boxes but I can&amp;#39;t change the properties of the checkboxes (they say yes and no instead of true or false) and so the function I created to concatenate the repeating table filtered for true values isn&amp;#39;t being populated.&amp;nbsp; I hope that made sense.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>