<?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: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70394.aspx</link><pubDate>Sat, 17 Sep 2011 05:57:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70394</guid><dc:creator>Skarn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70394.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70394</wfw:commentRss><description>&lt;p&gt;A possibility: Check for empty spaces either side of the values being returned from your datasource.&lt;/p&gt;&lt;p&gt;A way to check is just drag the datasource onto a blank view and make a repeating table of the data.&lt;/p&gt;&lt;p&gt;Then open the form, do a query of the datasource and change to that new view. &lt;br /&gt;Highlight the values in the repeating table corresponding to the radio buttons and see if there is &amp;#39;more&amp;#39; being highlighted than just the values. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70290.aspx</link><pubDate>Wed, 14 Sep 2011 16:02:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70290</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70290.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70290</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry it didn&amp;#39;t work out. It should, in theory, but troubleshooting your form, your data connection, etc is not something we can easily do over the forum. We provide &lt;a href="http://www.qdabra.com/webstore/category/4-support-consultation.aspx"&gt;paid support&lt;/a&gt;, via Livemeeting, in case you are interested now or in the future. Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70259.aspx</link><pubDate>Tue, 13 Sep 2011 17:58:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70259</guid><dc:creator>Jtcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70259</wfw:commentRss><description>&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you for the suggestion about checking to make sure my value, matched my pulled data.&amp;nbsp; I did double check this and indeed they do mach properly.&amp;nbsp; To clarify the option buttons are not being set, but on the form after a query is made I have to attempt to select one of the option buttons manually before it auto selects the correct value.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;From the answers I have gotten here though I get the impression that I am on the correct track in using rules based on the value in, or pulled from a database to set the value of the field that the option buttons are bound to, correct?&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If that is the case, at this point, unless there are any other suggestions about what I may be missing I will likely proceed with users manually selecting all option buttons, as having them select an option to auto populate an option does not seem a timesaver.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you Hilary and Ernesto for your thoughts on the topic&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70167.aspx</link><pubDate>Thu, 08 Sep 2011 22:24:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70167</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70167.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70167</wfw:commentRss><description>&lt;p&gt;Hi -&lt;/p&gt;
&lt;p&gt;Okay, I think what you are saying is that you currently have your form working correctly - you run your query and data is returned, and your rules are populating fields correctly. However, none of your option buttons are being set. Is the data being returned that is being used to set your field bound to your option control &lt;em&gt;valid&lt;/em&gt;? That is, if you have a field named &amp;quot;option&amp;quot;, and you have a set of 3 option buttons bound to that field, and the &amp;quot;selected&amp;quot; values of those buttons are 1, 2, &amp;amp; 3 respectively, what would you anticipate happening if your rules are setting the &amp;quot;option&amp;quot; field to &amp;quot;a&amp;quot;? None of the buttons would be selected, right? To debug, it may be easier if you drag the field currently bound to the option buttons control onto your form as a text field, so you can be sure that you know the value it is being set to.&lt;/p&gt;
&lt;p&gt;Hope that helps...&lt;/p&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70160.aspx</link><pubDate>Thu, 08 Sep 2011 17:51:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70160</guid><dc:creator>Jtcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70160.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70160</wfw:commentRss><description>&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Sorry, I think I oversimplified my description here so let me try to provide better details.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;As I said I am pull data from the SQL database as a secondary data source, in this case the data being pulled for the option buttons is in number format&amp;nbsp;0 through 10, although that will not always be the case.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;My query on the form is based on a client ID number in the data base.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The rule I set up runs when the query field is not blank, and as a second condition if the value of the secondary data field is equal to 0, when these are both true then the rule sets the option button control to equal a value that is the same as the “value when selected” of the first of the 4 option buttons. I would go on and make almost identical rules for each of the other 3 option buttons that selected the proper button for each value of the database field by using OR statements in the conditions for the rules,the 2nd button being selected&amp;nbsp;if a value of&amp;nbsp;1-2 is returned, and more of the same for the last two buttons with 3-6 and 7-10.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;The net result of all this is when I preview the document and type an id number into the query field in the document, the other fields, fill out fine for the record indicated, but even with all the rules set to run when my query field is not blank none of the option buttons are selected when the query runs.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;If I try clicking on any of the option buttons then the selection appears and changes to the correct option button, and even if I have a default button selected, the selection does not change automatically once the query is run.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;That lack of an automatic selection/change without any user action needed is what I am trying to figure out how to overcome.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="mso-spacerun:yes;"&gt;&lt;/span&gt;Hope the details here are clearer than the first post. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I have looked over your response here and am unsure how an action set up on form load could help, but would be grateful on any comment to point out what I am missing/misunderstanding.&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;(By the way thank you, I see what you were saying that I can point the rules straight to the data connection to the database, and not need to data to be pulled to a field in the form, and then compared, I have pulled that extra step out of the form.)&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you for your time, &lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;J&lt;/span&gt;&lt;/span&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70097.aspx</link><pubDate>Wed, 07 Sep 2011 14:23:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70097</guid><dc:creator>Jtcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70097</wfw:commentRss><description>&lt;p&gt;What I was trying to do in this form is acctually create a dynamic query, rather than a static one.&amp;nbsp; So the user puts in a id number in the query box, and all the&amp;nbsp;data populates based on that id.&amp;nbsp; So I guess what I need would be some way to make the option button refreash after each query so that the user does not need to click on one of the buttons to force it to switch to the corect option button.&amp;nbsp; From what I see I think my rule is fairly similure to your example, except it is not set to run on load, but rather after a query is run based on a value generated.&amp;nbsp; Would there be any tricks in this situation beyond the type of rule in your example?&lt;/p&gt;</description></item><item><title>Re: Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70084.aspx</link><pubDate>Wed, 07 Sep 2011 12:26:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70084</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70084.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70084</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;This should be fairly easy. If the data connection is running on form load, then you&amp;#39;ll need an action after it. The new action will set the value of the field for the option buttons.&lt;/p&gt;&lt;p&gt;As far as the extra field, you shouldn&amp;#39;t really need that. Even if you need the extra field in the schema, you wouldn&amp;#39;t need to display it in the canvas. &lt;/p&gt;&lt;p&gt;I&amp;#39;m attaching a sample form. On load there is a rule that sets the value of the option button. In your scenario, that value would be coming from a secondary data source. Sorry that it is so simple; let me know if I oversimplified the scenario. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Filling Option Buttons from a data source?</title><link>https://www.infopathdev.com:443/forums/thread/70077.aspx</link><pubDate>Tue, 06 Sep 2011 21:49:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70077</guid><dc:creator>Jtcom</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70077.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70077</wfw:commentRss><description>&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3" face="Calibri"&gt;After much help from these forums I am not quite the newbie I was in my first post here, but I am still trying to figure out one hopefully basic function in InfoPath.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Now using DBXL’s data query tool I am building an InfoPath to pull SQL data, while at the same time having to match a paper copy of the document.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The original uses what are basically option buttons, and I have heard said that it is possible to auto fill option buttons from a data source, but I am not having much luck getting this working smoothly.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;My current test has data pulled from SQL that is a number, 1 through 10, and then I set up option buttons with rules to set their value based on a textbox the number is pulled into elsewhere on the form.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The problems, I have to have the number appearing on the form in a box to pull the info for the rules, which I would rather avoid, and also the option buttons are not auto filling unless the user tries to click on one of them after the query has been run, at which point the selection snaps to the correct option button, and does not allow change untill the next query is run.&lt;/font&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;My method seems very clunky and my hope is someone can point me to a much better way of doing this. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;I suspect there is some way to use rules to do this better, but my current knowledge of rules does not point me in the direction of any rule option to use.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>