<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/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>Error number 16 - Expression too complex</title><link>http://msmvps.com/blogs/access/archive/2008/02/22/error-number-16-expression-too-complex.aspx</link><description>I just had this problem. I have no idea as to what caused this. This one is really weird as I&amp;#39;m using the following code to execute startup code after verifying the references. Access.Application.Eval (&amp;quot;fcnAutoExec2()&amp;quot;) The above was successfully</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Error number 16 - Expression too complex</title><link>http://msmvps.com/blogs/access/archive/2008/02/22/error-number-16-expression-too-complex.aspx#1522360</link><pubDate>Sat, 23 Feb 2008 08:38:31 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1522360</guid><dc:creator>Tony</dc:creator><description>&lt;p&gt;Tom, Bad DLL Calling Convention is already mentioned on the decompile page.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1522360" width="1" height="1"&gt;</description></item><item><title>re: Error number 16 - Expression too complex</title><link>http://msmvps.com/blogs/access/archive/2008/02/22/error-number-16-expression-too-complex.aspx#1522341</link><pubDate>Sat, 23 Feb 2008 08:18:45 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1522341</guid><dc:creator>Tom Wickerath</dc:creator><description>&lt;p&gt;Hi Tony,&lt;/p&gt;
&lt;p&gt;Funny you should mention this. Just last week I experienced a similar (possibly the same?) error number. I was getting a very strange error as soon as I hit the End Sub statement in a combo box AfterUpdate procedure that called a function in a stand-alone module:&lt;/p&gt;
&lt;p&gt;Private Sub Country_NotInList(NewData As String, Response As Integer)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;Response = Append2Table(Me.Country, NewData)&lt;/p&gt;
&lt;p&gt;End Sub&lt;/p&gt;
&lt;p&gt;The function being called was Allen Browne&amp;#39;s code to add a new value to a lookup table, when a user types it into a combo box. The function was working fine. In break mode, one could see that the error was raised as soon as the End Sub line shown above was run. The new data was added to the table correctly. One of the first things I tried was a decompile, which fixed the problem, so I was no longer able to document the exact error number.&lt;/p&gt;
&lt;p&gt;Also related is this tip from FMS, where they talk about Error 49 getting fixed with a decompile:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://www.fmsinc.com/MicrosoftAccess/Errors/Bad_DLL_Calling_Convention.asp"&gt;www.fmsinc.com/.../Bad_DLL_Calling_Convention.asp&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1522341" width="1" height="1"&gt;</description></item></channel></rss>