<?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: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124304.aspx</link><pubDate>Tue, 03 Aug 2021 22:58:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124304</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124304.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124304</wfw:commentRss><description>That did it.  Thanks again!..Lou</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124303.aspx</link><pubDate>Tue, 03 Aug 2021 22:28:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124303</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124303.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124303</wfw:commentRss><description>You may need to rebind the repeating table to the other data source first. Basically, the repeating table needs to be bound to the correct data source - then you can change the control inside it.</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124302.aspx</link><pubDate>Tue, 03 Aug 2021 22:22:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124302</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124302</wfw:commentRss><description>Thank you.  I need to do the same for a few other fields, but I get the attached error message.  I did the following steps, and get the error message at step 5:  1. Added the layout table;  2. Copied the repeating table from the field you helped me with and pasted it into the layout table; 3. right click the value inside the repeating table you helped me with and selected copy; 4. I pasted it into the new repeating table; 5. I attempted to change the binding to the field I need for this new repeating table but when I select the field to bind it to (which is in another data connection I created), I get the attached error.  Thanks..Lou</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124301.aspx</link><pubDate>Tue, 03 Aug 2021 21:49:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124301</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124301.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124301</wfw:commentRss><description>A layout table can be added from the Insert menu - Custom table - I selected a single row, single column table. Then I cut &amp;amp; pasted the table into the cell. :)</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124300.aspx</link><pubDate>Tue, 03 Aug 2021 21:27:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124300</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124300</wfw:commentRss><description>Thank you Hilary!.  I have to repeat these steps for a few more fields that can have multiple values, so I want to make sure I understand what you did and try from scratch rather than copy and paste.  I understand about the conditional formatting, but you indicate you put the table inside a layout table cell.  These are the steps I can&amp;#39;t follow, as I don&amp;#39;t see an option to add a control called &amp;#39;layout cell&amp;#39;.  See the attached screenshot.  Do you add a table from this menu bar somewhere and then slide the repeating table into it?  Thanks!  Lou</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124299.aspx</link><pubDate>Tue, 03 Aug 2021 20:13:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124299</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124299.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124299</wfw:commentRss><description>You had conditional formatting on the control inside the repeating table to hide it, but not on the table itself. So I copied that rule to the table. Also I put the table inside a layout table cell - perhaps this will now look the way you want it to.</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124298.aspx</link><pubDate>Tue, 03 Aug 2021 20:04:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124298</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124298</wfw:commentRss><description>Attached is the .xsn file.  The repeating table is for the field &amp;#39;Metric Type&amp;#39; (about two thirds of the way down the form), which is bound to a sql server data source field called &amp;#39;Metric Type Name&amp;#39;.  I will try out your suggestion as well. Thanks!  Lou</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124297.aspx</link><pubDate>Tue, 03 Aug 2021 16:28:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124297</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124297.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124297</wfw:commentRss><description>I think if you put the repeating table in a layout table cell, and format that layout table cell to have a white background (and auto-height), this might display as you wish. But can I see your form? I&amp;#39;m not sure why you have the gap, as you aren&amp;#39;t using a layout table in the last copy I have (which is a common cause of this).</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124296.aspx</link><pubDate>Tue, 03 Aug 2021 16:19:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124296</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124296</wfw:commentRss><description>Thanks.  I was able to get it to work (see the screenshot I attached).  However, the repeating table causes the form to now have a large gap between the last row of the repeating table and the next field below it.  It&amp;#39;s not that big of a gap, but I would like to have the next field (i.e, Reporting Frequency) to show up close to the repeating table.  And in some cases depending on what I select in a dropdown field above it, it creates a few (or many) blank records before the first row.  Is it possible to remove these leading and trailing blanks? Thanks again!</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124294.aspx</link><pubDate>Tue, 03 Aug 2021 15:03:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124294</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124294.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124294</wfw:commentRss><description>I wonder if the field is just not returned if it is blank - I know SharePoint does that, but don&amp;#39;t know about SQL. An easy way to test this would be to change the conditional formatting to color the row instead of hide it. Then add another formatting rule to turn it a different color if it is not present.... I suppose it could also contain a blank char, and not be blank. Can you directly query the database? What do the blank metric type values look like in the actual data?</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124293.aspx</link><pubDate>Tue, 03 Aug 2021 01:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124293</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124293</wfw:commentRss><description>Can I attach .png files so you can see the screenshot I was referring to?  I attached it earlier but it looks like you only saw my .xsn file.  I&amp;#39;m re-attaching the .png file here, where you can see I get hundreds of blank records; a few before the first record and many after the last record.  The form prompts the user to enter in an ID from a data connection, and based on the ID selected, the repeating table should show the values that correspond to the ID.  It looks like the rule you created is intended to hide the blank records, but they still show up.  My intent is to just hide the blank records that appear with the populated ones, but the control should always be shown.  This field will always be populated with at least one row.  Thanks!  Lou</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124292.aspx</link><pubDate>Mon, 02 Aug 2021 23:58:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124292</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124292.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124292</wfw:commentRss><description>I don&amp;#39;t see any screenshots, sorry, just the form you attached. The rule to hide the row was to hide anything where the value was blank - which is what you are saying you want hidden.</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124290.aspx</link><pubDate>Mon, 02 Aug 2021 18:49:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124290</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124290.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124290</wfw:commentRss><description>I think I see where you put the conditional formatting.  It&amp;#39;s a rule called &amp;#39;Hide for Blank&amp;#39;.  Note that I do not want to hide the control.  the repeating table you added does bring back the five rows I need, but the table shows blank records before the first value, and hundreds of blank records after the last value.  If you look at the screen shot I attached earlier, you can see what I&amp;#39;m referring to.  Thanks for any assistance.</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124289.aspx</link><pubDate>Mon, 02 Aug 2021 18:43:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124289</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124289</wfw:commentRss><description>Well - I took your copy and changed it, just to add conditional formatting. Here&amp;#39;s the copy I posted the other day with the same format change - I haven&amp;#39;t walked through the data connection, so I&amp;#39;m not sure what would have changed there.</description></item><item><title>Re: text box only shows first row of result set from sql query</title><link>https://www.infopathdev.com:443/forums/thread/124288.aspx</link><pubDate>Mon, 02 Aug 2021 18:33:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:124288</guid><dc:creator>lou d</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/124288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=124288</wfw:commentRss><description>Thanks but I downloaded your attachement and tried to test it out.  When I click on preview, my data connections to SQL server no longer work.  I closed out of your attachment and opened my version, and it no longer works either.  I don&amp;#39;t get any error messages, but when I click on Preview I do get the prompt to connect to the database, but I no longer get any records back and I don&amp;#39;t get an error message.  Any idea why?  Thanks!  Lou</description></item></channel></rss>