<?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: Data structure question</title><link>https://www.infopathdev.com:443/forums/thread/75268.aspx</link><pubDate>Tue, 14 Feb 2012 22:09:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75268</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75268</wfw:commentRss><description>&lt;p&gt;Hey, sorry you ended up talking to yourself, but thanks so much for following up and posting what you did - you are correct, that is a much better schema!&lt;/p&gt;</description></item><item><title>Re: Data structure question</title><link>https://www.infopathdev.com:443/forums/thread/75265.aspx</link><pubDate>Tue, 14 Feb 2012 21:49:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75265</guid><dc:creator>milhouse11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75265</wfw:commentRss><description>&lt;p&gt;OK, I answered my own question.&amp;nbsp; I followed the steps &lt;a class="" href="http://www.bizsupportonline.net/infopath2007/how-to-prefill-infopath-repeating-table.htm"&gt;here&lt;/a&gt;&amp;nbsp;to create a repeating table, and then specified the default values for each Category up front to initially build my table.&amp;nbsp; I added a Y/N field to conditionally display each section of the repeating table and it works like a charm.&amp;nbsp; Went from 192 fields (12 fields X 16 categories)&amp;nbsp;in my original data structure to 14!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Sorry if that was InfoPath 101.&amp;nbsp;&amp;nbsp; &lt;/p&gt;
&lt;p&gt;(c:&lt;/p&gt;</description></item><item><title>Data structure question</title><link>https://www.infopathdev.com:443/forums/thread/75256.aspx</link><pubDate>Tue, 14 Feb 2012 19:32:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75256</guid><dc:creator>milhouse11</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=75256</wfw:commentRss><description>&lt;p&gt;Sorry if there is a fairly easy answer to this that I&amp;#39;m not seeing, but I wanted to get the best practice for what I&amp;#39;m trying to do.&lt;/p&gt;
&lt;p&gt;I have a form that lists several categories in sections on the view.&amp;nbsp; Each section will be hidden and potentially displayed based on the value selected in another control.&amp;nbsp; Each of the categories will collect roughly the same data.&amp;nbsp; Currently, I have structured my datasource so that Category is a group that contains each of these fields like so:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Category A&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;CatA_DataSource&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatA_Comments&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatA_Symbol&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Category B&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;CatB_DataSource&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatB_Comments&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatB_Symbol&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Category C&lt;/strong&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;CatC_DataSource&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatC_Comments&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;CatC_Symbol&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Seems like there should be a more efficient way to do this such as a repeating table with Category as the identifier, but I&amp;#39;m not sure how to go about this and collect and show the records in the relevant, individual sections.&amp;nbsp; Does anyone have a better idea on how to approach this or am I already doing&amp;nbsp;it the right way?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>