<?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: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58975.aspx</link><pubDate>Thu, 16 Sep 2010 00:44:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58975</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58975.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58975</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks, we will find a workaround for this. &lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58956.aspx</link><pubDate>Wed, 15 Sep 2010 17:31:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58956</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58956.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58956</wfw:commentRss><description>&lt;p&gt;You can write code to copy the data from your secondary data source into your main data source. If you were able to add and remove items from a repeating table bound to a secondary data source, the next time the form loaded the data from the data source, everything would be just as it originally was -- since the secondary data source was unchanged.&lt;/p&gt;
&lt;p&gt;So you will need to either write code or use qRules, I&amp;#39;m afraid, as InfoPath offers no build in functionality for copying a repeating table from one data source to another.&lt;/p&gt;
&lt;p&gt;You&amp;#39;ll also need to consider what you would like to have happen when your original data changes -- does the data in the form get updated or refreshed to match?&lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58946.aspx</link><pubDate>Wed, 15 Sep 2010 03:28:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58946</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58946.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58946</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;I do not need to resubmit the existing data to its source. What I&amp;#39;m doing is actually to draw data from SQL to my repeating table -&amp;gt; Update existing value or insert/delete new rows BUT no need for updates on source as my users are supposed to use another system to do this update. &lt;/p&gt;
&lt;p&gt;However, currently when I draw data from SQL, it does not allow me to insert or delete rows on the existing data (editing fields is possible though). So I am asking if I can draw SQL data into a repeating table that allows me to insert or delete rows? &lt;/p&gt;
&lt;p&gt;By binding my repeating table to a secondary data source, my ability to add rows is disabled. &lt;/p&gt;
&lt;p&gt;Is it possible to achieve this without qRules?&lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58945.aspx</link><pubDate>Wed, 15 Sep 2010 00:51:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58945</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58945</wfw:commentRss><description>&lt;p&gt;I think you are saying you want to copy data from a secondary data source into your main data source? If so, qRules can help with that. But is your intent to be able to update your original data source? That is, when you copy this data into your form from, say, SQL, do you then need to be able to update that existing data? Can you maybe explain more generally about the problem you are trying to solve?&lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58898.aspx</link><pubDate>Mon, 13 Sep 2010 08:57:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58898</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58898</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;End up, I still need to copy my repeating table data&amp;nbsp;(from data source) to another repeating table on my form. These data (say billing accounts history with Bill date and Amt) is drawn from my database and can be binded into a repeating table as you mentioned above. However, I would&amp;nbsp;need this table to be editable,&amp;nbsp;writable and able to insert or delete rows. Right now, binding this data&amp;nbsp;to my repeating table allows users to write but not insert nor delete rows. Can this be made possible?&lt;/p&gt;
&lt;p&gt;If not,&amp;nbsp;is there a way to copy this repeating table into a normal repeating table where users can then insert new rows for additional billing details?&amp;nbsp;When I use rules to copy repeating table field data, only the first row fields are added.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope you have some advise, thanks!&lt;/p&gt;
&lt;p&gt;Zhen Yuan&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58683.aspx</link><pubDate>Sat, 04 Sep 2010 06:48:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58683</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58683.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58683</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks for your suggestions! Previously I was having trouble because I was trying to tie my secondary data source data to a repeating table which I&amp;#39;ve added separately. The end result was that this table did not populate according to my DB table. In fact nothing came out and only the first row was populated. &lt;/p&gt;
&lt;p&gt;Your comment on adding a repeating table bound to my secondary data made more sense! Instead of creating a table separately&amp;nbsp;and trying to bind, I now added the table straight from the data source and wala! It gave me exactly what I needed.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks again for your help!&lt;/p&gt;</description></item><item><title>Re: Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58635.aspx</link><pubDate>Fri, 03 Sep 2010 11:47:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58635</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58635.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58635</wfw:commentRss><description>&lt;p&gt;Hi --&lt;/p&gt;
&lt;p&gt;You want to actually copy the data from your table into the main data source of your form? It sounds like you do, since you want the users to update information.... &lt;/p&gt;
&lt;p&gt;If your data source has 3 rows, a repeating table bound to it should display 3 rows. If it has 5 rows, it should show 5. I&amp;#39;m having trouble picturing your workaround.... what is the behaviour you are seeing when you add a repeating table bound to your billing table data source?&lt;/p&gt;
&lt;p&gt;If you need to copy your data from your secondary data source into your main data source, you can use code or &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt;. If what you need is to ensure you have the same number of rows in your main data source as your secondary data source, you could again use code or qRules, or (kind of an ugly hack, here) include multiple instances of your main data source repeating group by default (under Tools / Default Values) and hide any that won&amp;#39;t be needed....&lt;/p&gt;
&lt;p&gt;Making a field read only is easy enough -- just use an expression box bound to the field.&lt;/p&gt;
&lt;p&gt;At any rate, perhaps explain a bit more about what you are trying to do and maybe I can be a bit more helpful?&lt;/p&gt;</description></item><item><title>Can I load database table values into my form dynamically?</title><link>https://www.infopathdev.com:443/forums/thread/58633.aspx</link><pubDate>Fri, 03 Sep 2010 10:25:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58633</guid><dc:creator>ZhenYuan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=58633</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just wondering, if I have a Billing table in my database that has columns, ClientID, BillAmount, BillDate, can I populate these fields into my form dynamically? Dynamically in the sense, for example I want to retrieve Billing details from Client 12345 and there are only 3 bills to date, then I will have a 3x3 table. If I query on client 23456 and there are 5 bills, then a 5x3 table appears. &lt;/p&gt;
&lt;p&gt;Unfortunately, repeating tables ain&amp;#39;t behaving the way (dynamically) as I hoped. An added complexity is that one of the columns has to be read only...&lt;/p&gt;
&lt;p&gt;My current, rather lame, workaround is to use 3 list boxes to represent my 3 columns, set size margins to zero to make them look like tables, lengthen the boxes by an exaggerated amount and put them into a scrolling region. This way, the no. of rows should not exceed my list box and users can scroll via the scrolling region. However, users won&amp;#39;t be able to update the rows this way and I have to give them a textbox or something to update.&lt;/p&gt;
&lt;p&gt;Does anyone have any good idea on how to dynamically populate table fields from database tables? Thanks!&lt;/p&gt;</description></item></channel></rss>