<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42777.aspx</link><pubDate>Thu, 11 Jun 2009 15:42:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42777</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42777.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42777</wfw:commentRss><description>&lt;p&gt;Hmm... It looks like they&amp;#39;re linked correctly:&lt;/p&gt;
&lt;p&gt;shape&lt;br /&gt;&amp;nbsp;&lt;br /&gt;{select&amp;nbsp;&amp;nbsp;[RequestID],&amp;nbsp;[RequestDate],&amp;nbsp;[RequestRequiredDate], ...,&amp;nbsp;&amp;nbsp;[RequestMonth],&amp;nbsp;[RequestYear],&amp;nbsp;[Scratch] &lt;br /&gt;&amp;nbsp;from [Requests] as [Requests] &lt;br /&gt;&amp;nbsp;order by [RequestID]&lt;br /&gt;} as [Requests]&lt;br /&gt;&amp;nbsp;&lt;br /&gt;append (&lt;br /&gt;{select&amp;nbsp;&amp;nbsp;[RequestID],&amp;nbsp;[RequestCustID],&amp;nbsp;...,&amp;nbsp;[TransFS],&amp;nbsp;[TransFSExp] from [Customers]}&lt;/p&gt;
&lt;p&gt;relate [RequestID] TO [RequestID]&lt;br /&gt;) as [Customers]&lt;/p&gt;
&lt;p&gt;It might be worth mentioning -- in my query results, the repeating section for Customer data is&amp;nbsp;actually missing --&amp;nbsp;it&amp;#39;s NOT that the section is there and&amp;nbsp;the fields are showing up blank...&amp;nbsp; This is true both for the form that I originally created, as well as the basic form that I created as directed a couple of posts up.&lt;/p&gt;</description></item><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42772.aspx</link><pubDate>Thu, 11 Jun 2009 15:19:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42772</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42772.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42772</wfw:commentRss><description>&lt;p&gt;I know that since they submit correctly the tables are probably linked correctly, but if I wasn&amp;#39;t getting results, I think that is what I&amp;#39;d check next. You can click the &amp;#39;Edit SQL&amp;#39; button in the data connection wizard to see the SQL -- while it is different from the t-SQL you&amp;#39;d use to when you write a query against your database, it may give you more insight.&lt;/p&gt;</description></item><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42758.aspx</link><pubDate>Thu, 11 Jun 2009 13:00:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42758</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42758.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42758</wfw:commentRss><description>&lt;p&gt;Thanks for the pointer, Hilary -- I had not realized you could do that.&amp;nbsp; I just tried it, and I&amp;#39;m having the same issue.&amp;nbsp; I get the results from my main table (Results), but it doesn&amp;#39;t show the results from my other table (Customers).&amp;nbsp; I&amp;#39;ve got them linked in the main data connection, so I&amp;#39;m not quite sure what&amp;#39;s going on.&amp;nbsp; Also, when I submit forms, the data is saved correctly in both tables.&lt;/p&gt;</description></item><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42735.aspx</link><pubDate>Wed, 10 Jun 2009 21:52:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42735</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42735.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42735</wfw:commentRss><description>&lt;p&gt;One thing that can help you sort out data issues sometimes is to create a new view and drag your entire data source over to it, just select Section with Controls and IP will hodge something together for you. Then you&amp;#39;ll have a view that shows everything that you can turn to after you run a query.... it may help you narrow down your issue.&lt;/p&gt;</description></item><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42581.aspx</link><pubDate>Mon, 08 Jun 2009 00:57:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42581</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42581</wfw:commentRss><description>&lt;p&gt;Hi, Hilary -- thanks for responding (and so late!).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m filling in query fields for my main data connection.&amp;nbsp; I had tried to allow multiple results, but I got errors because my Requests table shouldn&amp;#39;t actually be repeating.&amp;nbsp; I&amp;#39;m figuring out that what I want to do here isn&amp;#39;t what I should actually be doing.&lt;/p&gt;
&lt;p&gt;Ideally, when my users get to the end result of their search, I want there to be only one Request (and its related Customers).&amp;nbsp; Otherwise, if someone had many Requests in the results, and they made changes to one, all would be resubmitted (which in my case means all of them would be e-mailed -- not what I&amp;#39;m going for).&lt;/p&gt;
&lt;p&gt;What I&amp;#39;d really like is an intermediate screen between my query and my final, single-record&amp;nbsp;result -- one that could list out each returned Request in a single row, then the user could click on that row (or a button, or a bit of data in that row) and be taken to the data entry form for that record.&amp;nbsp; Is this something InfoPath can do?&amp;nbsp; Or do I need to quit thinking back to my ASP programming days?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ETA -- I&amp;#39;m starting a new thread for this, since my issue has changed...&lt;/p&gt;</description></item><item><title>Re: Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42555.aspx</link><pubDate>Sat, 06 Jun 2009 05:41:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42555</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42555.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42555</wfw:commentRss><description>&lt;p&gt;Hi--&lt;/p&gt;
&lt;p&gt;What query are you using where you aren&amp;#39;t getting the results you expect? Is it the main data connection query that was created when you created the form off the database? Can you provide a little more detail about what you are trying to do?&lt;/p&gt;
&lt;p&gt;Or are you filling in the query fields for your main data connection and then running that query? If so, and if you expect to see multiple results returned, you&amp;#39;ll need to make sure that in your data connection you have selected the checkbox that allows the return of multiple records. You&amp;#39;ll find that in the screen of the Data Connection Wizard that displays your Access tables in the tree view... there is a button that says &lt;strong&gt;Modify Table &lt;/strong&gt;(I think that&amp;#39;s what it says -- it may just say &lt;strong&gt;Modify&lt;/strong&gt;). If you click it, toward the bottom there is a checkbox you can select to return multiple records.&lt;/p&gt;</description></item><item><title>Missing query results when two tables are joined</title><link>https://www.infopathdev.com:443/forums/thread/42551.aspx</link><pubDate>Fri, 05 Jun 2009 21:02:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42551</guid><dc:creator>kminor</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42551.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=42551</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I recently made some changes to an InfoPath form I created.&amp;nbsp; It is connected to an Access database.&amp;nbsp; Previously, it queried/submitted to only one Access table.&amp;nbsp; Now, I&amp;#39;ve broken the single table out into two tables -- one is a request table; the other is a table called Customers (it represents a repeating section, as there can be more than one customer per request).&lt;/p&gt;
&lt;p&gt;When I submit a form, even with multiple customers added to the form, all of the entered data is put into Access correctly.&amp;nbsp; I&amp;#39;m having&amp;nbsp;two BIG problems when I try to run a query in InfoPath against those tables, though:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;The results omit the repeating section.&amp;nbsp; It shows the small section of the form that is bound to the request table, and that&amp;#39;s it.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Only one request is returned in queries that should have many requests.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;I should add that the Requests table has a primary key of Request ID.&amp;nbsp; The Customers table has a primary key of (Request ID and Customer ID).&amp;nbsp; They are joined on Request ID (obviously).&amp;nbsp; I tried making Customers&amp;#39; primary key Request ID (because currently, the data allows me to do so -- just testing to see if the PKs were an issue).&amp;nbsp; I still have the same issue with query results.&lt;/p&gt;
&lt;p&gt;I should know better than to try to release a form on Friday afternoon.&amp;nbsp; Now, I&amp;#39;m stuck working on it this weekend.&amp;nbsp; Ugh.&amp;nbsp; Thanks for any help you can offer!&lt;/p&gt;
&lt;p&gt;ETA -- I just realized that my form CAN&amp;#39;T display more than one request in the query results because requests aren&amp;#39;t a repeating section.&amp;nbsp; So how would I let users search for requests made in a particular month, for example (request month is stored on the Requests table).&lt;/p&gt;
&lt;p&gt;Still can&amp;#39;t figure out the missing Customers sections.&amp;nbsp; Please share any thoughts you may have on this.&amp;nbsp; I would be VERY appreciative!&lt;/p&gt;</description></item></channel></rss>