<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/10500.aspx</link><pubDate>Tue, 10 Oct 2006 11:12:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10500</guid><dc:creator>Abhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10500.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10500</wfw:commentRss><description>Hi eoinkennedy,&lt;br /&gt;&lt;br /&gt;What Shiraz says, is &lt;br /&gt;1)Have a view say "Forms" in ur InfoPath form.&lt;br /&gt;&lt;br /&gt;2)Retrieve the various forms from the database and display it in a Repeating Section.Keep a button in each row of the repeating section to display the measures for that form as follows...&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Forms Available&lt;/b&gt;&lt;br /&gt;X                  View Measures button&lt;br /&gt;Y                  View Measures button&lt;br /&gt;Z                  View Measures button&lt;br /&gt;&lt;br /&gt;3)On clicking the "View Measures button" for form "X",change the view to another view say "Measures" and query the database for all measures for Form "X" and display the Measures in a repeating section with a textbox for each measure in a row.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Measures Available&lt;/b&gt;&lt;br /&gt;Measure1&lt;br /&gt;Measure2&lt;br /&gt;Measure3&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Abhishek</description></item><item><title>Re: Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/10499.aspx</link><pubDate>Tue, 10 Oct 2006 08:57:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10499</guid><dc:creator>eoinkennedy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10499.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10499</wfw:commentRss><description>Hi, &lt;br /&gt;&lt;br /&gt;Thanks for your reply, &lt;br /&gt;&lt;br /&gt;Could you possible give me a little more information with regard to the second part of your reply. &lt;br /&gt;&lt;br /&gt;Have InfoPath query for the XY list, then display a selection for the user to choose the item, then subsequently requery for the measures for that item.&lt;br /&gt;&lt;br /&gt;I am not sure exactl;y how to do this, &lt;br /&gt;&lt;br /&gt;thanks fot your help,&lt;br /&gt;</description></item><item><title>Re: Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/10498.aspx</link><pubDate>Mon, 09 Oct 2006 19:29:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10498</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10498.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10498</wfw:commentRss><description>Welcome to our forum!&lt;br /&gt;&lt;br /&gt;The way to look at InfoPath is not programming against the view (which you cannot do) but by looking at the data and designing the view to take into account the possible shapes of the data.  In this case, the measures would be a repeating section with a field and thus each one would show up in the series.&lt;br /&gt;&lt;br /&gt;In terms of creating a separate form for X and Y, you can programmatically do this when querying the database before opening InfoPath, or have InfoPath query for the XY list, then display a selection for the user to choose the item, then subsequently requery for the measures for that item.</description></item><item><title>Re: Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/10497.aspx</link><pubDate>Mon, 25 Sep 2006 23:50:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10497</guid><dc:creator>eoinkennedy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10497</wfw:commentRss><description>Sure, &lt;br /&gt;&lt;br /&gt;I have a datavase table such as the following&lt;br /&gt;&lt;br /&gt;Form, Measure&lt;br /&gt;&lt;br /&gt;X     Measure 1&lt;br /&gt;X     Measure 2&lt;br /&gt;X     Measure 3&lt;br /&gt;Y     Measure 1&lt;br /&gt;Y     Measure 2&lt;br /&gt;&lt;br /&gt;What I want is to &lt;br /&gt;1. Create an infopath form for every form i.e. 2 here x abd y &lt;br /&gt;&lt;br /&gt;then &lt;br /&gt;&lt;br /&gt;2. Add a text box to that form for each measure, so form x would have 3 text boxes and form y would have 2 text boxes.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description></item><item><title>Re: Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/10496.aspx</link><pubDate>Mon, 25 Sep 2006 19:53:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:10496</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/10496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=10496</wfw:commentRss><description>Could you tell us a little bit more about your situation? The easiest way that I can think of to accomplish this would be to create a repeating section with a text box in it, and then add instances of the group via code.</description></item><item><title>Add Controls To InfoPath Form Programatically</title><link>https://www.infopathdev.com:443/forums/thread/5846.aspx</link><pubDate>Mon, 25 Sep 2006 10:42:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:5846</guid><dc:creator>eoinkennedy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/5846.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=5846</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I am looking to edit an infopath form programatically. &lt;br /&gt;&lt;br /&gt;What I want is to add text boxes to a form through code. &lt;br /&gt;&lt;br /&gt;I am using c# in Visual Studios and this is my preferred language but any language that achieves what I am looking for is fine. &lt;br /&gt;&lt;br /&gt;Any help would be greatly appreciated,&lt;br /&gt;&lt;br /&gt;Thanks</description></item></channel></rss>