<?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: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/77041.aspx</link><pubDate>Fri, 30 Mar 2012 22:36:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77041</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77041.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77041</wfw:commentRss><description>&lt;p&gt;You know...I just had a thought.&amp;nbsp; I saw an article on your site by Mel Balsamo I think it was where repeating sections were set up in such a way as to resemble a repeating table where each table entry was 2 rows instead of the standard 1 row.&amp;nbsp; Would it be possible to set up a series of sections, hide them when the test isn&amp;#39;t run (which I know is&amp;nbsp;possible b/c I do that already), and format them&amp;nbsp;in such as way that they look like&amp;nbsp;a single table?&amp;nbsp; You&amp;#39;d have to do a lot of squishing of borders and cell padding, which is what Mel&amp;#39;s article showed.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m not clear about is whether the sections should be repeating or not (I&amp;#39;ve not done anything in IP with repeating sections as yet).&amp;nbsp; Are there&amp;nbsp;binding requirements for those?&amp;nbsp; And can you conditionally hide repeating sections?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;Natalie&lt;/p&gt;</description></item><item><title>Re: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/77026.aspx</link><pubDate>Fri, 30 Mar 2012 15:33:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77026</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77026.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77026</wfw:commentRss><description>&lt;p&gt;While I could in some cases move the fields for the counts to the same repeating group as the entry fields for the test in question, the entry fields come from multiple repeating tables (in&amp;nbsp;a few&amp;nbsp;cases&amp;nbsp;even for the same test!) and I can&amp;#39;t bind&amp;nbsp;a single&amp;nbsp;result summary table to&amp;nbsp;multiple repeating groups,&amp;nbsp;so there&amp;#39;s not much point.&amp;nbsp; (if that made sense...)&lt;/p&gt;
&lt;p&gt;My form really is pretty complex.&amp;nbsp; Here are a few statistics: &lt;/p&gt;
&lt;p&gt;7 repeating tables on the configuration page - with 9 sets of cascading comboboxes (only about 4 of which are unique - the rest just&amp;nbsp;look up&amp;nbsp;their values from whatever was entered in the original)&lt;/p&gt;
&lt;p&gt;14 separate sections (tests) on the test plan page, each one of which needs to feed in to the result summary.&lt;/p&gt;
&lt;p&gt;5 secondary data connections to SharePoint Lists&lt;/p&gt;
&lt;p&gt;Natalie&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/77025.aspx</link><pubDate>Fri, 30 Mar 2012 15:12:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77025</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77025.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77025</wfw:commentRss><description>I think it should be possible to do this, but is there a reason the totals are in a different repeating group from the entry fields?&amp;nbsp; I think it would be quite a bit easier to have them in the same repeating group.</description></item><item><title>Re: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/77024.aspx</link><pubDate>Fri, 30 Mar 2012 14:59:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77024</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77024.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=77024</wfw:commentRss><description>&lt;p&gt;My form is for running software tests.&amp;nbsp; View&amp;nbsp;1 is where the configuration information is entered, view 2 is a series of sections with a test plan for each possible test (and the irrelevant tests get hidden as the configuration options are marked), view 3 is the result summary where I have the repeating table I&amp;#39;m working with.&lt;/p&gt;
&lt;p&gt;On the test plan page, I have several sections with other repeating tables that point to the data that was entered on the first page (so that the tester doesn&amp;#39;t have to flip back and forth to see what was entered), but then I also have extra fields for Expected Result, Actual Result, and Pass/Qualified Pass/Fail (these latter&amp;nbsp;are option buttons).&lt;/p&gt;
&lt;p&gt;The result summary basically takes counts of all the Pass/Qualified Passes/Fails to get the total number of tests, but it&amp;#39;s in the test plan sections themselves that I separately calculate the number of Passes, Qualified Passes, Fails and run percentages where % Passes =&amp;nbsp;# Passes/# Tests, % Qual Passes = # Qual Passes/# Tests and %Fails = # Fails/# Tests.&amp;nbsp; Each row number in the&amp;nbsp;repeating table I&amp;#39;m trying to build on the Summary page&amp;nbsp;corresponds to the results for one of the tests on the Test Plan page.&lt;/p&gt;
&lt;p&gt;So the counts are based on different option button controls in different sections - and the only way to get a consistent formula would be to use row numbers, something like&lt;/p&gt;
&lt;p&gt;For i = 1 to 14&lt;/p&gt;
&lt;p&gt;PctPasses(row i) = Total Passes(row i) / Total Tests (row i)&lt;/p&gt;
&lt;p&gt;PctQPs(row i) = Total QPs(row i) / Total Tests (row i)&lt;/p&gt;
&lt;p&gt;PctFails (row i) - Total Fails (row i) / Total Tests (row i)&lt;/p&gt;
&lt;p&gt;Next i&lt;/p&gt;
&lt;p&gt;Except I don&amp;#39;t want to have to do custom code if I can avoid it.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I actually have a separate table set up that is not a repeating table that does all the calculations manually, but with 14 rows, that&amp;#39;s more than 100 controls in just that table.&amp;nbsp; I was just hoping to be able to use a repeating table so I could use row-based conditional formatting to hide rows that correspond to tests that weren&amp;#39;t run.&amp;nbsp; On the non-repeating table, I have some conditional formatting that grays out the fields on rows that have tests that weren&amp;#39;t run, but it&amp;#39;s not very pretty.&lt;/p&gt;
&lt;p&gt;FYI, I tried using qRules to&amp;nbsp;apply a filter to the field to be updated to see if I could update only a particular row, but once again it applies whatever changes I make to every column in the table.&amp;nbsp; &amp;lt;sigh&amp;gt;&amp;nbsp; I have a mini-mockup of the repeating table I&amp;#39;m trying to build (minus all the counts/calculations)&amp;nbsp;if you want to look at it. At this point, I&amp;#39;ve built a repeating table like the one I want to build for the result summary and I&amp;#39;m only trying&amp;nbsp;to see if I can use qRules SetValue to update only one row in the repeating table. If you think it would be helpful to see the mockup, let me know and I&amp;#39;ll post it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does this help?&amp;nbsp; And sorry for the delay in responding - I&amp;#39;ve been called off to work on other things and have posted a few other questions here in the meantime.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Natalie (nkstrou)&lt;/p&gt;</description></item><item><title>Re: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/76493.aspx</link><pubDate>Thu, 15 Mar 2012 03:32:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76493</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76493</wfw:commentRss><description>I don&amp;#39;t think this has anything to do with the datatype, and I wouldn&amp;#39;t necessarily call this a bug, but I agree it is a bit confusing the way this feature is presented.&amp;nbsp; Due to the way InfoPath forms work, default value &lt;u&gt;formulas&lt;/u&gt; can only be defined for &lt;em&gt;all&lt;/em&gt; instances of a field in a repeating group.&amp;nbsp; If you use static values, then you can have different values in each row, because those are just stored in the form&amp;#39;s template.xml file.&amp;nbsp; Could you give us an example of a few&amp;nbsp;formulas you&amp;#39;re using that need to be different in each row?&amp;nbsp; Perhaps there&amp;#39;s a way to generalize the formula.</description></item><item><title>Re: Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/76454.aspx</link><pubDate>Wed, 14 Mar 2012 19:11:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76454</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76454.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76454</wfw:commentRss><description>&lt;p&gt;This is probbaly&amp;nbsp;a product bug.&amp;nbsp; Here is another thread on the topic where I commented that may apply to your situation as well: &lt;a href="http://www.infopathdev.com/forums/p/21957/75905.aspx#75905"&gt;http://www.infopathdev.com/forums/p/21957/75905.aspx#75905&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Default Values...Text vs. Numbers...Grrrrr</title><link>https://www.infopathdev.com:443/forums/thread/76446.aspx</link><pubDate>Wed, 14 Mar 2012 17:49:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76446</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=76446</wfw:commentRss><description>&lt;p&gt;Hi InfoPathers:&lt;/p&gt;
&lt;p&gt;I need to create a summary table in my InfoPath 2010 filler form.&amp;nbsp; What I have so far is a repeating table that I went into Data/Default Values for and added 12 copies of the row, for a total of 13 rows.&amp;nbsp; Then I turned off the ability to insert/delete items.&lt;/p&gt;
&lt;p&gt;The first 3 columns in my table are all textboxes with a data type of text and by going back into Data/Default Values (thanks Hilary!), I was able to add different default text per&amp;nbsp;row - &lt;em&gt;exactly&lt;/em&gt; what I needed.&amp;nbsp; The last 7 columns are all textboxes as well, but they have data types of either whole number (integer) or decimal.&amp;nbsp; This is because I&amp;#39;m taking counts in the integer fields and calculating percentages in the decimal fields.&amp;nbsp; However, when I go into Data/Default Values and try to set default values for the integer fields equal to counts of various fields elsewhere in my document, the same&amp;nbsp;formula gets applied to &lt;em&gt;all&lt;/em&gt; 13 instances of that field&amp;nbsp;in the table!&lt;/p&gt;
&lt;p&gt;Why is the behavior different for text fields and number fields?&amp;nbsp; And is there a way I can apply different formulas to each instance of my number field?&amp;nbsp; For instance, can I use different formulas if I convert my data types back to text, convert those values to numbers, do my calculations, then convert the result back to text? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item></channel></rss>