<?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: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121282.aspx</link><pubDate>Wed, 17 Jul 2019 21:14:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121282</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121282</wfw:commentRss><description>It sounds like you have a good implementation that meets your end goal - working around the limitations of InfoPath. :)</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121281.aspx</link><pubDate>Wed, 17 Jul 2019 20:53:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121281</guid><dc:creator>msufreeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121281.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121281</wfw:commentRss><description>Yes, that&amp;#39;s correct. The user would fill out a review for each category and each category can have multiple reviews.
&lt;br /&gt;&lt;br /&gt;
I ended up implementing a solution in which I show them how many categories are allowed for the type of review they are doing and make sure they do each of them. I&amp;#39;ve got a repeating table that holds reviews and a drop down in each row that allows them to select the category.
&lt;br /&gt;&lt;br /&gt;Further, I&amp;#39;ve ensured that they can&amp;#39;t select the same category multiple times. For each review I have a nested repeating table that allows them to enter their multiple reviews for each category.
&lt;br /&gt;&lt;br /&gt;
Ultimately, I wanted to be able to display all of the categories without forcing the user to select each one but I&amp;#39;ve implemented enough checks and balances to make this way work.
&lt;br /&gt;&lt;br /&gt;
Thanks for all of your time and effort. I end up looking at your posts quite often when I&amp;#39;m in InfoPath land lol. I can&amp;#39;t begin to imagine how many people and their numerous google searches you&amp;#39;ve helped over the years!</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121269.aspx</link><pubDate>Tue, 16 Jul 2019 15:31:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121269</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121269.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121269</wfw:commentRss><description>Oh, wow, I don&amp;#39;t think this is going to be possible as described - I don&amp;#39;t think you can nest a repeating section from another data source inside another one. So - maybe there would be a way to add a button to the repeating table that shows the review section &amp;amp; sets the Category ID - have to be careful with that if there are multiples. Is the net result that you need users to open a form, fill out a review for every single category and then submit? That is, you are collecting Reviews for a number of categories for every user?</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121263.aspx</link><pubDate>Mon, 15 Jul 2019 15:31:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121263</guid><dc:creator>msufreeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121263</wfw:commentRss><description>Hi Hilary,
&lt;br /&gt;&lt;br /&gt;
Thanks for taking the time to help. I&amp;#39;ve attached a mock up form with a db structure similar to what I&amp;#39;m working with. It&amp;#39;s very bare bones as I&amp;#39;m trying to just focus on this one aspect of the form.
&lt;br /&gt;&lt;br /&gt;
When looking at the structure keep in mind the following:
&lt;br /&gt;&lt;br /&gt;
-For each entry in ReviewCategory show a &amp;quot;row&amp;quot; on the form with that Category&amp;#39;s description.
&lt;br /&gt;
-For each &amp;quot;row&amp;quot; of the category offer a repeating table type of control that allows users to add a ReviewFinding.
&lt;br /&gt;
-The submit will submit one Review with many Findings.
&lt;br /&gt;&lt;br /&gt;
-Primary Keys are handled separately and by external logic are guaranteed to be unique.
&lt;br /&gt;&lt;br /&gt;
Like I said initially, I&amp;#39;m pretty sure it&amp;#39;s not possible via OOB controls. The best I can come up with as a no code solution is to give the user a drop down of categories and have them insert findings via a repeating table. The problem with that set up is it doesn&amp;#39;t force the user to see every possible category when they do a &amp;quot;Review&amp;quot; (like I said, this is just a mock up).</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121244.aspx</link><pubDate>Thu, 11 Jul 2019 21:11:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121244</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121244</wfw:commentRss><description>I&amp;#39;m going to need a sample, or some screenshots - I just read through the description again, and I&amp;#39;m having trouble understanding the DB structure you want in the form. You can always attach your form to a reply and I can delete it after I download it (if you are worried about the DB connection info in the form).</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121242.aspx</link><pubDate>Thu, 11 Jul 2019 20:59:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121242</guid><dc:creator>msufreeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121242</wfw:commentRss><description>It does. Where I&amp;#39;m struggling is how to have all of the records from C represented and allow for distinct B objects to be created for each of them.</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121241.aspx</link><pubDate>Thu, 11 Jul 2019 20:52:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121241</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121241</wfw:commentRss><description>So you created a form bound to the database? Does it not submit correctly?</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121239.aspx</link><pubDate>Thu, 11 Jul 2019 20:47:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121239</guid><dc:creator>msufreeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121239</wfw:commentRss><description>Any thoughts as to how it would be done as a database bound form? It&amp;#39;s already bound to the database. All of the data is in the same database.</description></item><item><title>Re: Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121238.aspx</link><pubDate>Thu, 11 Jul 2019 20:44:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121238</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121238</wfw:commentRss><description>Yeah, this would have to be a database bound form or you would need a web service - the company I work for has one, DBXL, that does this, and you pass in the XML as a string and there is a mapping that parses the XML to the DB.</description></item><item><title>Submit one to many to database, secondary source needed as lookup</title><link>https://www.infopathdev.com:443/forums/thread/121237.aspx</link><pubDate>Thu, 11 Jul 2019 20:31:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121237</guid><dc:creator>msufreeman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121237</wfw:commentRss><description>Hi folks,
&lt;br /&gt;
&lt;br /&gt;
I&amp;#39;m pretty sure what I&amp;#39;m wanting to do can&amp;#39;t be accomplished out of the box but I would love it if I&amp;#39;m just missing something simple.
&lt;br /&gt;
&lt;br /&gt;
Scenario:
&lt;br /&gt;
I have 3 objects I&amp;#39;m working with. Object type A is a parent with a one to many relationship to object type B. Object type C is a lookup table for a property of B.
&lt;br /&gt;
&lt;br /&gt;
Goal:
&lt;br /&gt;
-Provide a list of &amp;quot;rows&amp;quot; for each C
&lt;br /&gt;
-For each &amp;quot;row&amp;quot; provide repeatable table of B
&lt;br /&gt;
-Submit 1 A with any number of B using the ID field from each B&amp;#39;s equivalent C.
&lt;br /&gt;
&lt;br /&gt;
If this isn&amp;#39;t clear I can try and come up with a mock up form that demonstrates.
&lt;br /&gt;
&lt;br /&gt;
I have a feeling code is going to be required. We tend to avoid deploying InfoPath forms with code behind the form itself however I&amp;#39;ve done a few small ones using web services. I&amp;#39;m just not sure how I would approach the web service idea for this set up.
&lt;br /&gt;
&lt;br /&gt;
Thanks!</description></item></channel></rss>