<?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: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79604.aspx</link><pubDate>Mon, 18 Jun 2012 16:13:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79604</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79604.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79604</wfw:commentRss><description>&lt;p&gt;You should be able to add another table when you create your form off your SQL DB - Select the main table first, then you can add the other table and relationship - as long as all the columns are allowable for submit (IP has some restrictions there) it shouldn&amp;#39;t be a problem. You&amp;#39;d mentioned:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;I&amp;#39;m kind of lost on this one after trying a lot of things (adding tables to my main data connection had very strange results that I wasn&amp;#39;t expecting at all). &lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;What were the strange results? From your original post, it sounds like you build the form off the child table and not the parent?&lt;/p&gt;</description></item><item><title>Re: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79574.aspx</link><pubDate>Sun, 17 Jun 2012 06:04:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79574</guid><dc:creator>SeanPT</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79574.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79574</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Those look like some interesting tools and I will definitely be checking those out but this isn&amp;#39;t quite what I&amp;#39;m looking for. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Basically I&amp;#39;m looking to do a JOIN on two tables and be able to submit to and query from those two tables in one single form. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79538.aspx</link><pubDate>Fri, 15 Jun 2012 12:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79538</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79538.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79538</wfw:commentRss><description>&lt;p&gt;Server-side filtering of DB data is a common issue that comes up in InfoPath form development and we have developed some approaches to allow people to do this without writing their own code.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://www.qdabra.com/en/products/qRules_new.aspx"&gt;qRules&lt;/a&gt; provides a command called ExecuteSqlQuery that allows you to modify the SQL query for a secondary data source and perform filtering by doing that.&amp;nbsp; This command requires a good deal of caution, as it can be an SQL injection risk if used improperly.&lt;/p&gt;&lt;p&gt;&amp;nbsp;A safer, but somewhat more involved approach is to pull the data through a web service, and this is precisely what the QueryDB service in &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;DBXL&lt;/a&gt; provides.&lt;/p&gt;</description></item><item><title>Re: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79537.aspx</link><pubDate>Fri, 15 Jun 2012 11:38:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79537</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79537.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79537</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;SeanPT:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;What I need to do is have other dropdown lists, like say Store Name, that I can use to populate that form &lt;/div&gt;&lt;/BLOCKQUOTE&gt; 
&lt;p&gt;This sounds like cascading drop-down lists easily created in Infopath OOTB (out-of-the-box, without coding). 
&lt;p&gt;See, for example, &lt;br /&gt;Browser Based InfoPath 2010 - Creating Cascading Dropdown Fields with no Code&amp;nbsp;&lt;br /&gt;&lt;a href="https://www.nothingbutsharepoint.com/sites/eusp/Pages/Browser-Based-InfoPath-2010---Creating-Cascading-Dropdown-Fields-with-no-Code.aspx"&gt;https://www.nothingbutsharepoint.com/sites/eusp/Pages/Browser-Based-InfoPath-2010---Creating-Cascading-Dropdown-Fields-with-no-Code.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oops, &amp;quot;Inser/Edit Link&amp;quot; doesn&amp;#39;t work for me 
&lt;p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79531.aspx</link><pubDate>Fri, 15 Jun 2012 06:25:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79531</guid><dc:creator>SeanPT</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79531.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79531</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I was afraid the answer would be in coding. That is outside my abilities. I was able to find a bit of a hack -- I duplicated the status query field a few times to cover each field that I need to use. On each dropdown I changed the external lookup to display what I wanted but kept the value as the store number. Then I used a rule to cause each change in the dropdown to re-query and thus update the form. Ideally some of these dropboxes would just be read-only text boxes but I can live with what I have. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79529.aspx</link><pubDate>Fri, 15 Jun 2012 05:50:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79529</guid><dc:creator>KAbhishek</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79529.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79529</wfw:commentRss><description>Are you able to fill your first dropdown list ? You mean you need to fill droplist from first table and based on selection in droplist you need to fill second table ? 
In this requirement, I advise you go for code solution by using VSTA and ado.net. If you aware of C#, Ado.net and Xpath you can get this done accurately as you need. 
DC in your requirement will never be a good option.</description></item><item><title>How do I use one table to find records in another table when there is only one common column?</title><link>https://www.infopathdev.com:443/forums/thread/79528.aspx</link><pubDate>Fri, 15 Jun 2012 05:04:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79528</guid><dc:creator>SeanPT</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79528</wfw:commentRss><description>&lt;p&gt;The backend for this form is SQL 2008R2, the form is designed in InfoPath 2010 and will be used with the InfoPath form filler. &lt;/p&gt;&lt;p&gt;In my SQL2008R2 table I have store information (Store number, Store Name, City, State, Zip) and in my second table I have more information about the store (Store Number, Opening Date, Owner, Manager). Store Number is the primary key on both tables. This form that I need help with is for data entry into this second table. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Currently my main data connection is to the second table. I have a receive data connection setup for the first table. I can create a Dropdown List query field and setup the options to come from the receive data connection to give me a dropdown list of store numbers. I can use that dropdown list and run a query to populate the form.&lt;/p&gt;&lt;p&gt;&amp;nbsp;What I need to do is have other dropdown lists, like say Store Name, that I can use to populate that form. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m kind of lost on this one after trying a lot of things (adding tables to my main data connection had very strange results that I wasn&amp;#39;t expecting at all). Hopefully I&amp;#39;ve explained this well enough that someone might have some ideas on how I can accomplish this.&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>