<?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: Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/6302.aspx</link><pubDate>Thu, 11 Nov 2004 18:37:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6302</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6302</wfw:commentRss><description>You are right -- I don't know much at all about datasets at this point. Perhaps I'll eventually work on a project that will force me to learn them.&lt;br /&gt;&lt;br /&gt;I'm glad you were able to figure the issue out, and thank you for sharing your findings with us.&lt;br /&gt;&lt;br /&gt;As for the other repeating issue, perhaps you can modify the manifest or view .xsl file to fix that? Design two new blank forms, add in a repeating table, make one form so that the insert shows and the other so that it doesn't and then compare the files from each to see what the difference is to find out if you can fix the issue yourself.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Re: Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/6301.aspx</link><pubDate>Mon, 08 Nov 2004 12:47:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6301</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6301.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6301</wfw:commentRss><description>Greg,&lt;br /&gt;&lt;br /&gt;First off, I think congratulations are in order, according to the other poster! :)  So congrats to you (you must be mad...)&lt;br /&gt;&lt;br /&gt;Thanks for pointing me in the non-master/detail direction, at least that's a start!&lt;br /&gt;&lt;br /&gt;I (think I...) have solved my own problem, at least a bit, and posted to MS communities IP to that effect.  A lot of my probs are to do with using datasets, I think, and, no offence to you, I think that's an area you're not so familiar with.&lt;br /&gt;&lt;br /&gt;If you were designing your schema for this you'd have TableB *nested as a child* of TableA, right?  It turns out (according to me) that, when the schema is being generated from a dataset, by default you don't get this, even if you have a dataset "relationship" defining the parent-child.  You have to go set a "Nested=true" Property on those relationships in your dataset which you want IP to create as parent/child.  This causes the XML to come out nested, whereas by default a dataset gets all its tables exported "flat".&lt;br /&gt;&lt;br /&gt;Now that I have done that, I get the proper "nesting" in the IP hierarchy.  And the "control type mismatch"/red asterisk has gone away.  It seems to me understanding this is absolutely vital to anyone using datasets, but it's not at all clearly documented.  You may want to know this if anyone ever asks about "datasets not having their tables nested".&lt;br /&gt;&lt;br /&gt;I'll probably have to post separately about the repeated section/single section issue.  I'm claiming you have a dataset issue there.  For example, according to me, if my top-level is a table from a dataset, I *have to* have that as a repeating section *and* I can *not* tell IP that I don't want "Insert Item" buttons (I don't want users to be able to create extra rows) --- it's all greyed out.  I tried posting is MS communities and one of your guys (Brian Teutsch) said he didn't know but didn't think it should ever be like that... :(&lt;br /&gt;</description></item><item><title>Re: Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/6300.aspx</link><pubDate>Fri, 05 Nov 2004 18:23:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6300</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6300</wfw:commentRss><description>I'm not suer how much I'll be able to help on this one, but let's try:&lt;br /&gt;&lt;br /&gt;First of all a master/detail control is probably not the choice for you. Reason? Because it expects there to only be 1 table on the back end, not 2.&lt;br /&gt;&lt;br /&gt;What it really sounds like you need is some way to select an order, have one section show the details of the selected order, and have another section that has a repeating list of the items for that order.&lt;br /&gt;&lt;br /&gt;Both sections would be filtered on the selection of the specific order (whether that selection is a drop-down list box, or what).&lt;br /&gt;&lt;br /&gt;I hope some of that helps.&lt;br /&gt;&lt;br /&gt;Greg Collins [InfoPath MVP]</description></item><item><title>Re: Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/6299.aspx</link><pubDate>Thu, 04 Nov 2004 13:55:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6299</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6299.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6299</wfw:commentRss><description>Gregs very busy, I'd give him alot of time to respond. Also with a new child it makes it that much harder. :-)</description></item><item><title>Re: Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/6298.aspx</link><pubDate>Thu, 04 Nov 2004 08:12:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6298</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6298</wfw:commentRss><description>Bump (Greg?) :)</description></item><item><title>Repeating section or master/detail woes</title><link>https://www.infopathdev.com:443/forums/thread/4493.aspx</link><pubDate>Tue, 02 Nov 2004 17:12:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4493</guid><dc:creator>jonbrave</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4493</wfw:commentRss><description>Hope you're here, Gregg, you wonderfully helpful person! :)&lt;br /&gt;&lt;br /&gt;I can't get either to work, and don't know what I'm supposed to do.  here, hopefully, is a simplified explanation of what I'm trying to achieve, which ought to be "common":&lt;br /&gt;&lt;br /&gt;* Web Service returning single dataset containing multiple tables&lt;br /&gt;* TableA is the master (e.g. "Orders")&lt;br /&gt;* TableB is multi-to-one detail (e.g. "OrderItems")&lt;br /&gt;* Suitable key field linking the two (but note, no "relationship" in schema, for complex reasons --- don't know whether that is of any relevance).&lt;br /&gt;&lt;br /&gt;Let's say, I want a form to allow adding/updating of Order, together with its OrderDetails.  Two approaches seem possible:&lt;br /&gt;&lt;br /&gt;1. [Currently adopted] I'll manage with assuming dataset will only return *1* row in TableA (for updating) [and all rows in TableB will be children of row in TableA].  Can't convince IP of this (it decides data table could have many rows), so have to define it as *repeating* section.  OK.  Then try to add TableB (also repeating section, this time required).  If I place control *inside* TableA repeating section, IP complains about "control type mismatch" with red asterisk, whatever I do; although all seems to work, can't save form since error.  If I drag TableB below TableA's repeating section that clears the error.  But then nesting is wrong, and "Insert Item" will place multi Orders before all OrderDetails.&lt;br /&gt;&lt;br /&gt;2. [Attempted] OK, perhaps this is a master/detail situation.  I try TableA as master, with suitable deleting and recreating to make TableB detail via key field link.  But then TableA *must* be represented by "Repeating Table" control, which is all wrong.&lt;br /&gt;&lt;br /&gt;I'm trying (obviously) to achieve layout like:&lt;br /&gt;  Master&lt;br /&gt;    Field 1       Field 2&lt;br /&gt;    Field 3       Field 4&lt;br /&gt;    ...&lt;br /&gt;    Children Detail&lt;br /&gt;      Line 1&lt;br /&gt;      Line 2&lt;br /&gt;      ....&lt;br /&gt;&lt;br /&gt;From one parent record, I may have several different "detail" tables, (each) with multi-rows (at present one, but there are further detail tables to include).&lt;br /&gt;&lt;br /&gt;I might have a "search for record by key" control to pick master row to be updated, rather than a master *table* control.  That causes row + child detail rows to be read, ready for update; then separate "Add New" button for adding new master row (clears out info there), together with whatever child detail rows required.&lt;br /&gt;&lt;br /&gt;I hope all this makes sense.  It seems to me a common situation.&lt;br /&gt;&lt;br /&gt;Which approach *should* I be taking?  Nested repeateds or master/detail?  And why do neither of them seem to be right...? :)&lt;br /&gt;</description></item></channel></rss>