<?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: InfoPath 2003 Cannot Open User Defined Function</title><link>https://www.infopathdev.com:443/forums/thread/71119.aspx</link><pubDate>Fri, 14 Oct 2011 15:24:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71119</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71119.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71119</wfw:commentRss><description>&lt;p&gt;I know less than nothing about Access - is the array formula used in AssignmentsLookUp_Q? I&amp;#39;m assuming AssignmentsLookUp_Q returns a record set in Access, and the recordset you expect....&lt;/p&gt;
&lt;p&gt;The heart of the issue is this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;[Microsoft][ODBC Microsoft Access Driver] Undefined function &amp;#39;CheckFields&amp;#39; in expression.&lt;/p&gt;
&lt;p&gt;Searching the web&amp;nbsp;for &lt;em&gt;[Microsoft][ODBC Microsoft Access Driver] Undefined function in expression&lt;/em&gt; brings back some results that may be helpful for you - it seems like there may be a chance that the issue is with some syntax in the function that is not supported. I&amp;#39;m sorry I can&amp;#39;t be more help here - again, my Access knowledge is extremely limited.&lt;/p&gt;</description></item><item><title>Re: InfoPath 2003 Cannot Open User Defined Function</title><link>https://www.infopathdev.com:443/forums/thread/71111.aspx</link><pubDate>Fri, 14 Oct 2011 02:33:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71111</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71111</wfw:commentRss><description>&lt;p&gt;Thanks Hilary, but I don&amp;#39;t believe the schema is rendering correctly.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Here&amp;#39;s the full error I am getting:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The SQL statement cannot be represented as a tree view. To remove the SQL statement, click Edit SQL, and then delete the statement.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This is what is displayed within the SQL window:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;select * from [AssignmentsLookUp_Q]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This is&amp;nbsp;the error I get with I hit the next button:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[0x80040E14][Microsoft OLE DB Provider for ODBC Drivers] [Microsoft][ODBC Microsoft Access Driver] Undefined function &amp;#39;CheckFields&amp;#39; in expression.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This is the UDF&amp;nbsp;I am using within Access 2003; which basically check several field within the query I am using as a main data source to determine if they&amp;#39;ve been populated by the user:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Public Function CheckFields(ParamArray sArr()) As String&lt;br /&gt;Dim j, fCnt As Integer&lt;/p&gt;
&lt;p&gt;For j = 0 To UBound(sArr)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If sArr(j) &amp;amp; &amp;quot;&amp;quot; &amp;lt;&amp;gt; &amp;quot;&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fCnt = fCnt + 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;/p&gt;
&lt;p&gt;Next&lt;/p&gt;
&lt;p&gt;Select Case fCnt&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckFields = &amp;quot;Not Upated&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Is = UBound(sArr) + 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckFields = &amp;quot;Update Completed&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CheckFields = &amp;quot;Not Updated&amp;quot;&lt;/p&gt;
&lt;p&gt;End Select&lt;/p&gt;
&lt;p&gt;End Function&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Finally, this is the array formula&amp;nbsp;where I apply the above UDF to evaluate for populated&amp;nbsp;fields:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Record Updated By Buyer: CheckFields([Questionaire_T]![Synopsis],[Questionaire_T]![SourcingEngagementDt],[Questionaire_T]![TimeframeStartDt],[Questionaire_T]![TimeframeFinishDt],[Questionaire_T]![3rdPartyDuration],[Questionaire_T]![SupplierName],[Questionaire_T]![SupplierBudget],[Questionaire_T]![CommCode],[Questionaire_T]![CommCodeDescription],[Questionaire_T]![CommodityGroup],[Questionaire_T]![CommodityGroupDescription],[Questionaire_T]![Sourcing Involved],[Questionaire_T]![BuyerName],[Questionaire_T]![SupplierRisk],[Questionaire_T]![SupplierPaymentTerms],[Questionaire_T]![SupplierQuoteValidity],[Questionaire_T]![HoneywellQuoteValidity])&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: InfoPath 2003 Cannot Open User Defined Function</title><link>https://www.infopathdev.com:443/forums/thread/71109.aspx</link><pubDate>Thu, 13 Oct 2011 22:50:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71109</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71109.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71109</wfw:commentRss><description>&lt;p&gt;Hi - is the message that the SQL can&amp;#39;t be displayed as a tree? If so, you can safely ignore that - when we add a SQL data connection, there is a dialog that likes to display the tree view for our returned dataset. As long as the form itself generates an appropriate schema for the data source, whether it displays correctly in a dialog in the DB connection wizard is ignorable.&lt;/p&gt;</description></item><item><title>InfoPath 2003 Cannot Open User Defined Function</title><link>https://www.infopathdev.com:443/forums/thread/71108.aspx</link><pubDate>Thu, 13 Oct 2011 22:41:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71108</guid><dc:creator>gdgonzal</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71108.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=71108</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have a user defined function that works perfectly within Access 2003; however, when I attempt to open it as both main and secondary data source I receive error stating that the SQL tree statement is not supported (something similar to that anyway).&lt;/p&gt;
&lt;p&gt;Is there a workaround for this issue?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;</description></item></channel></rss>