<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Converting an Access Databse to a SQL Database</title><link>https://www.infopathdev.com:443/forums/thread/25386.aspx</link><pubDate>Thu, 03 Jan 2008 17:19:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25386</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=25386</wfw:commentRss><description>&lt;p&gt;One table is always so much easier to work with!&lt;/p&gt;
&lt;p&gt;Unfortuntately, I don&amp;#39;t have a deep knowledge of SQL syntax. I&amp;#39;m still learning. The first question I would have is whether your SQL statement works in a&amp;nbsp;Query window inside SQL Server Management Studio? If so, then it is possible that InfoPath just can&amp;#39;t handle that complexity--or maybe it can but needs some additional help. Maybe someone else here, with more SQL knowledge than myself, can help out. If it doesn&amp;#39;t work in Management Studio, then I would highly recommend bringing up your question to a SQL-specific newsgroup/forum to get a SQL expert to help out.&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;</description></item><item><title>Re: Converting an Access Databse to a SQL Database</title><link>https://www.infopathdev.com:443/forums/thread/25361.aspx</link><pubDate>Thu, 03 Jan 2008 13:38:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25361</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=25361</wfw:commentRss><description>&lt;p&gt;I created two smaller tables but I have another problem now...&lt;/p&gt;
&lt;p&gt;I added a&amp;nbsp;Where a clause and an Order By clause at the end of the SQL statement created by Infopath the query and it worked fine&amp;nbsp;using one table as the Main Data Source.&amp;nbsp; But now that I am uisng 2 smaller tables, the query is using Shape Select with an Append Select and a Relate clause at the end of the SQL statement.&amp;nbsp; When I&amp;nbsp;use the Where a clause and an Order By clause&amp;nbsp;I get the following error...&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The following error occurred:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The query method on the Document object failed.&lt;br /&gt;InfoPath cannot run the specified query.&lt;br /&gt;[0x80040E14][MSDataShape] Data shape command text contains a syntax error at or near position 2237 in the command. The text near the error is: &amp;quot; [LaborSummaryID] WHERE (((LaborSummary.[ECAM])&amp;quot;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;File:script.js&lt;br /&gt;Line:73&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I think the Where a clause and an Order By clause&amp;nbsp;needs to be after the Relate statement but I do not know how to do that since the SQL statement is generated by Infopath.&amp;nbsp;I just put it at the end when I was using one table, which did not create the Relate statement, and it worked fine. &lt;/p&gt;
&lt;p&gt;Can you help?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Converting an Access Databse to a SQL Database</title><link>https://www.infopathdev.com:443/forums/thread/25263.aspx</link><pubDate>Fri, 21 Dec 2007 18:32:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25263</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25263.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=25263</wfw:commentRss><description>&lt;p&gt;Cool! Glad you got it figured out. What was your solution?&lt;/p&gt;</description></item><item><title>Converting an Access Databse to a SQL Database</title><link>https://www.infopathdev.com:443/forums/thread/25225.aspx</link><pubDate>Wed, 19 Dec 2007 20:37:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25225</guid><dc:creator>m181354</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25225.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=25225</wfw:commentRss><description>&lt;p&gt;NEVER MIND..FIGURED IT OUT!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am converting an an Access database that I&amp;nbsp;am using as a prototype to a SQL Database.&amp;nbsp; But I have a problem with the row size...it exceeds the maximum bytes allowed per role(8060).&amp;nbsp; My row size is (11733).&amp;nbsp; I use the table as an Main&amp;nbsp;datasource wjich allows to me to read and write back to it.&amp;nbsp;&lt;/p&gt;I need to break my one large table into a few smaller ones which will also give me better performance too.&amp;nbsp; But how do I make multiple tables or a sql query that would bring all the data together as one Main Datasource?&lt;font face="Courier New" size="1"&gt;&lt;/font&gt;&lt;font face="Courier New" size="1"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;</description></item></channel></rss>