<?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>Tony's Microsoft Access Blog : bug</title><link>http://msmvps.com/blogs/access/archive/tags/bug/default.aspx</link><description>Tags: bug</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>FindExecutable API call fails for ACCDB file extensions</title><link>http://msmvps.com/blogs/access/archive/2009/09/13/findexecutable-api-call-fails-for-accdb-file-extensions.aspx</link><pubDate>Sun, 13 Sep 2009 21:22:58 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1723088</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1723088</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1723088</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2009/09/13/findexecutable-api-call-fails-for-accdb-file-extensions.aspx#comments</comments><description>&lt;p&gt;The API call &lt;a href="http://vbnet.mvps.org/index.html?code/system/findexecutable.htm%20" target="_blank"&gt;&amp;quot;FindExecutable: Find Exe Associated with a Registered Extension&amp;quot;&lt;/a&gt; fails on a file with the ACCDB extension.&amp;#160;&amp;#160; The API call does work fine with the MDB extension.&amp;#160;&amp;#160; Clicking on an ACCDB file in Windows Explorer does work.&amp;#160; This is a on a new, fresh Win XP/Access 2007 install with nothing else on the system and no uninstalls, etc. &lt;/p&gt;  &lt;p&gt;This has been confirmed by folks over in the microsoft.public.vb.general.discussion newsgroup.&amp;#160; &lt;br /&gt;Microsoft Communities - &lt;a href="http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.vb.general.discussion&amp;amp;tid=4556a349-dd2f-4e57-a37e-f65969c23fc3&amp;amp;cat=&amp;amp;lang=&amp;amp;cr=&amp;amp;sloc=&amp;amp;p=1" target="_blank"&gt;FindExecutable API call fails for ACCDB file extensions&lt;/a&gt;    &lt;br /&gt;Google Groups - &lt;a href="http://groups.google.ca/group/microsoft.public.vb.general.discussion/browse_thread/thread/109aaa1c7d6a31a7/76f9a67c39002178" target="_blank"&gt;FindExecutable API call fails for ACCDB file extensions&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Note Mike Williams statement:&amp;#160; &amp;quot;There were all sorts of strange anomalies where certain file extensions were found by FindExecutable and other file extensions were not, with (up to now) no apparent rhyme or reason behind it. &amp;quot;&lt;/p&gt;  &lt;h3&gt;Irony/Stupidity/Blind spot&lt;/h3&gt;  &lt;p&gt;That said ShellExecute will do what I want.&amp;#160; I had a blind spot and forgot you could send it parameters.&amp;#160; So I’ve spent several hours getting this API call working, or so I thought until someone hit this bug, for nothing.&amp;#160; &amp;lt;sigh&amp;gt; Worse, I could’ve added some requested functionality to the &lt;a href="http://www.autofeupdater.com/" target="_blank"&gt;Auto FE Updater&lt;/a&gt; a long time ago.&amp;#160; &amp;lt;bigger sigh&amp;gt;&lt;/p&gt;  &lt;p&gt;I will be issuing a new release of the &lt;a href="http://www.autofeupdater.com/" target="_blank"&gt;Auto FE Updater&lt;/a&gt; in the next few days after I fix up a few other minor bugs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1723088" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/Auto+FE+Updater/default.aspx">Auto FE Updater</category><category domain="http://msmvps.com/blogs/access/archive/tags/API/default.aspx">API</category></item><item><title>Navigation Pane Description missing - Access 2007 SP2</title><link>http://msmvps.com/blogs/access/archive/2009/05/01/navigation-pane-description-missing-access-2007-sp2.aspx</link><pubDate>Sat, 02 May 2009 02:33:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1691731</guid><dc:creator>Tony</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1691731</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1691731</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2009/05/01/navigation-pane-description-missing-access-2007-sp2.aspx#comments</comments><description>&lt;p&gt;&amp;quot;Use MS ACCESS 2007 to manage large volume of accounting data, and have many &lt;br /&gt;tables and queries.&amp;nbsp; I enter a description in these tables and queries to &lt;br /&gt;help me remember what they all do.&amp;nbsp; MS OFFICE Service Pack 2 was released &lt;br /&gt;into my machine last night, and now the descriptions have disappeared in the &lt;br /&gt;navigation pane I use to run queries.&amp;quot;&lt;/p&gt; &lt;p&gt;&lt;a href="http://groups.google.ca/group/microsoft.public.access/browse_thread/thread/9ed6904b85065bfb/4fbb704002fad661" target="_blank"&gt;Navigation Pane Descriptions -2007 Office Service Pack 2&lt;/a&gt; &lt;p&gt;Confirmed by multiple people and Microsoft.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1691731" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/Patch/default.aspx">Patch</category></item><item><title>"Object or class does not support the set of events." error message</title><link>http://msmvps.com/blogs/access/archive/2009/04/05/quot-object-or-class-does-not-support-the-set-of-events-quot-error-message.aspx</link><pubDate>Mon, 06 Apr 2009 01:54:08 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1684967</guid><dc:creator>Tony</dc:creator><slash:comments>9</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1684967</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1684967</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2009/04/05/quot-object-or-class-does-not-support-the-set-of-events-quot-error-message.aspx#comments</comments><description>&lt;p&gt;I start getting the following message when opening a form after doing some minor changes to it. &lt;p&gt;&amp;quot;The expression On Open you entered as the event property setting produced the following error:&lt;br /&gt;Object or class does not support the set of events.&amp;quot; &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access/ObjectOrClassDoesNotSupportTheSetOfEvents_5F00_2.jpg"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" height="191" alt="ObjectOrClassDoesNotSupportTheSetOfEvents" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access/ObjectOrClassDoesNotSupportTheSetOfEvents_5F00_thumb.jpg" width="593" border="0" /&gt;&lt;/a&gt;  &lt;p&gt;Commenting out the code in the OnOpen event, compiling, uncommenting and compiling didn&amp;#39;t help.&amp;nbsp; Neither did &lt;a href="http://www.granite.ab.ca/access/decompile.htm" target="_blank"&gt;decompiling&lt;/a&gt; which startled me. &lt;p&gt;However saving the form with a different name fixed the problem.&amp;nbsp; Bizarre.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1684967" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/VBA/default.aspx">VBA</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>"Type Mismatch" bug and line numbers in the Auto FE Updater</title><link>http://msmvps.com/blogs/access/archive/2009/01/24/quot-type-mismatch-quot-bug-and-line-numbers-in-the-auto-fe-updater.aspx</link><pubDate>Sun, 25 Jan 2009 03:58:33 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1665763</guid><dc:creator>Tony</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1665763</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1665763</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2009/01/24/quot-type-mismatch-quot-bug-and-line-numbers-in-the-auto-fe-updater.aspx#comments</comments><description>&lt;p&gt;I&amp;#39;ve been getting intermittent email reports of a &amp;quot;Type Mismatch&amp;quot; error message in the Auto FE Updater.&amp;nbsp; However the problem just wasn&amp;#39;t making any sense.&amp;nbsp;&amp;nbsp; Thankfully the most recent person who emailed me was quite persistent and so the problem is solved pending the last version he is going to be testing very shortly.&lt;/p&gt; &lt;p&gt;The lengthy amount of delay in figuring out the problem was exacerbated by my own stupidity.&amp;nbsp;&amp;nbsp; I use a lot of API and other code especially from Randy Birch&amp;#39;s &lt;a href="http://vbnet.mvps.org/" target="_blank"&gt;VBnet Visual Basic Developers Resource Centre&lt;/a&gt;.&amp;nbsp;&amp;nbsp; I didn&amp;#39;t bother adding my standard error handling routine in much of the code for whatever foolish rationale I can&amp;#39;t quite figure out now.&amp;nbsp; In hindsight of course.&amp;nbsp; So the error message was passed back to upper level procedures where there was no numeric handling so I was greatly puzzled as to how some string manipulation was causing &amp;quot;Type Mismatch&amp;quot; messages.&lt;/p&gt; &lt;p&gt;Turns out the problem was due to converting the &lt;a href="http://vbnet.mvps.org/index.html?code/system/getversionex.htm" target="_blank"&gt;OS version number&lt;/a&gt; &amp;quot;5.1&amp;quot; string (meaning Windows XP) in systems where the decimal symbol is , (comma).&lt;/p&gt; &lt;p&gt;In that code look for the line&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Text1(1).Text = win.VersionNum&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;In that example the code is being converted to a string so no problem. However my code converted it to a Single variable.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;Now when I set the decimal symbol to comma on my own system the number gets converted to 51.&amp;nbsp; And not 5.1.&amp;nbsp; I&amp;#39;m not quite sure why Norwegians and others are getting type mismatch.&amp;nbsp; But I&amp;#39;m not going to worry about that for now.&lt;/p&gt; &lt;p&gt;Thanks also to &lt;a href="http://www.mztools.com" target="_blank"&gt;MZTools&lt;/a&gt; for having buttons to add and remove line numbers from subroutine and function calls.&amp;nbsp; This allowed me to ship new versions of the Auto FE Updater to the tester and narrow down the line in the routines causing the problem.&amp;nbsp; You can use the variable Erl to display the line number of the line of code causing the problem.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;MsgBox &amp;quot;The following error occurred in procedure GetWinVerAll of Module APICalls&amp;quot; &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Err.Description &amp;amp; vbCrLf &amp;amp; &amp;quot;Line Nbr: &amp;quot; &amp;amp; Erl &amp;amp; vbCrLf &amp;amp; vbCrLf &amp;amp; Command() &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; gblstrSupportMsg &amp;amp; gblstrCopyrightNotice&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;There are a variety of methods to determine the decimal symbol including API calls such as &lt;a href="http://vbnet.mvps.org/index.html?code/locale/localenumerics.htm" target="_blank"&gt;GetLocaleInfo: Regional Locale Numeric Settings&lt;/a&gt;.&amp;nbsp;&amp;nbsp; However Rick Rothstein, fellow MVP had the following elegant solutions.  &lt;blockquote&gt; &lt;p&gt;DecimalPoint = Format$(0, &amp;quot;.&amp;quot;)  &lt;p&gt;DateSeparator = Format$(0, &amp;quot;/&amp;quot;)  &lt;p&gt;ThousandsSeparator = Mid$(Format$(1000, &amp;quot;#,###&amp;quot;), 2, 1)&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;Tony&lt;/p&gt; &lt;p&gt;P.S.&amp;nbsp; In another day or two I&amp;#39;ll have a release of the Auto FE Updater which solves this problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1665763" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/Auto+FE+Updater/default.aspx">Auto FE Updater</category></item><item><title>"Out of memory" or "Object not found" while importing reports?</title><link>http://msmvps.com/blogs/access/archive/2009/01/18/quot-out-of-memory-quot-or-quot-object-not-found-quot-while-importing-reports.aspx</link><pubDate>Mon, 19 Jan 2009 03:06:44 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1663063</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1663063</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1663063</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2009/01/18/quot-out-of-memory-quot-or-quot-object-not-found-quot-while-importing-reports.aspx#comments</comments><description>&lt;p&gt;Just trying to figure out some weird problems with a clients medium sized front end.&amp;nbsp; I isolated the above messages while importing reports to having &lt;a href="http://sourceforge.net/projects/pdfcreator/" target="_blank"&gt;PDF Creator&lt;/a&gt; as my default printer.&amp;nbsp; Once I switched my default printer to my HP Laser Jet printer I was able to import the reports just fine.&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt; Note that the commercial product calling itself PDFCreator as at &lt;a href="http://www-pdfcreator.com"&gt;http://www-pdfcreator.com&lt;/a&gt; is just trying to make $$$s attempting to masquerade as the open course product&amp;nbsp;&amp;nbsp; See &lt;a href="http://en.wikipedia.org/wiki/PDFCreator#Impostors_on_the_internet" target="_blank"&gt;Impostors on the Internet&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1663063" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Unusual software bugs</title><link>http://msmvps.com/blogs/access/archive/2008/12/04/unusual-software-bugs.aspx</link><pubDate>Thu, 04 Dec 2008 22:26:34 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1655842</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1655842</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1655842</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/12/04/unusual-software-bugs.aspx#comments</comments><description>&lt;p&gt;Thanks to fellow Access MVP Graham R Seach for showing that these kinds of bugs really do have a name.&amp;nbsp; And that it&amp;#39;s not just me.&lt;/p&gt; &lt;p&gt;&amp;quot;&lt;a href="http://en.wikipedia.org/wiki/Heisenbug" target="_blank"&gt;Unusual software bugs&lt;/a&gt; are a class of software bugs that are considered exceptionally difficult to understand and repair. There are several kinds, mostly named after scientists who discovered counterintuitive things.&amp;quot;&lt;/p&gt; &lt;p&gt;Heisenbug, Bohrbug, Mandelbug and Phase of the Moon bug are among the bugs mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1655842" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/Wry+Humour+maybe/default.aspx">Wry Humour maybe</category><category domain="http://msmvps.com/blogs/access/archive/tags/Eclectic/default.aspx">Eclectic</category></item><item><title>Losing the [Event Procedure] on a command button</title><link>http://msmvps.com/blogs/access/archive/2008/11/11/losing-the-event-procedure-on-a-command-button.aspx</link><pubDate>Tue, 11 Nov 2008 07:40:03 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1653731</guid><dc:creator>Tony</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1653731</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1653731</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/11/11/losing-the-event-procedure-on-a-command-button.aspx#comments</comments><description>&lt;p&gt;I just added a tab control to my standard File Locations form in the Granite Fleet Manager program.&amp;nbsp;&amp;nbsp; I added the tab control and cut and pasted all the controls from the form to the page on the tab control.&amp;nbsp; I then discovered that I had lost all the [Event Procedure] entries in the command buttons.&amp;nbsp;&amp;nbsp; I&amp;#39;ve added them back in before I took this screen shot.&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access.LosingtheEventProcedureonacommandbutton_5F00_97F/LoseCodeEvent_5F00_4.jpg"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" height="301" alt="LoseCodeEvent" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access.LosingtheEventProcedureonacommandbutton_5F00_97F/LoseCodeEvent_5F00_thumb_5F00_1.jpg" width="548" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;I&amp;#39;ve noticed this behavior occasionally before but had never realized what caused this.&amp;nbsp; In this case it was quite easy to recall as I had made this change a few days ago and all three command buttons on the form were missing the [Event Procedure]&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Background&lt;/strong&gt;.&amp;nbsp;&amp;nbsp; &lt;/p&gt; &lt;p&gt;I&amp;#39;ve decided to install the Access Front End (FE) and the demo BE MDB and demo JPG files in the users Application Data\Granite Fleet Manager folder.&amp;nbsp; I decided to install the live data BE MDB into the users My Documents\Granite File Manager folder.&amp;nbsp; Thus the data MDB is easier to work with if the user wants to move the files onto a memory stick or anything else.&amp;nbsp; The default settings in Windows Explorer make getting to the files in the Application Data folder rather difficult.&lt;/p&gt; &lt;p&gt;However my current database location form displays all the BE MDBs in the folder in a list box.&amp;nbsp; I felt that while that was good for me in testing and good for network installs it was sub optimal for an end user who just wants to use the program on their own PC.&amp;nbsp; (Sub optimal, yeah, that&amp;#39;s a nice euphemism for sucks.)&lt;/p&gt; &lt;p&gt;For stand alone users they only care about the demo system and the data system.&amp;nbsp; So on the Basic (Single User) page on the tab control I created a listbox which displays all the BE MDBs in the same folder as the FE MDE is installed and all the BE MDBs in the My Documents\Granite Fleet Manager.&lt;/p&gt; &lt;p&gt;And I cut and paste the already existing controls on the form to the tab Advanced (Networks) page on the tab control.&amp;nbsp; Which caused this problem.&lt;/p&gt; &lt;h4&gt;&lt;strong&gt;A refinement&lt;/strong&gt;&lt;/h4&gt; &lt;p&gt;I then thought about things a bit.&amp;nbsp; Once the user sends me some money I email them a 265 byte license key file containing their encrypted business name.&amp;nbsp; Now I can tell them just to drag and drop that file into their My Documents\Granite Fleet Manager folder.&amp;nbsp; The application looks for a key file in that folder and asks the user if they want to relink to the data file in that folder.&amp;nbsp;&amp;nbsp; If they click Ok then they get relinked automatically.&amp;nbsp; They don&amp;#39;t even see the above form.&amp;nbsp;&amp;nbsp; Now if they ever do want to switch between the data and the demo BE MDBs they can get to the above folder.&lt;/p&gt; &lt;h4&gt;&lt;strong&gt;Another refinement&lt;/strong&gt;&lt;/h4&gt; &lt;p&gt;A further refinement is to handle the situation where they email me a spreadsheet containing all their equipment.&amp;nbsp; I will import the spreadsheet into the data MDB and email them back a complete data MDB.&amp;nbsp; Typically with the name of their organization in the file name.&lt;/p&gt; &lt;p&gt;Below is the screen should the license key and two BE MDBs exist in the My Documents\Granite Fleet Manager folder.&lt;/p&gt; &lt;p&gt;&lt;a href="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access.LosingtheEventProcedureonacommandbutton_5F00_97F/SimpleFileLocationsForm_5F00_2.jpg"&gt;&lt;img style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" height="317" alt="SimpleFileLocationsForm" src="http://msmvps.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/access.LosingtheEventProcedureonacommandbutton_5F00_97F/SimpleFileLocationsForm_5F00_thumb.jpg" width="471" border="0" /&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;That should be simple enough for any novice computer user.&amp;nbsp;&amp;nbsp; Maybe. I hope.&lt;/p&gt; &lt;p&gt;Note how I display the unit and service order count in the list box.&amp;nbsp; I&amp;#39;ve taken to displaying the number of records in one or two key tables in the app on the main menu.&amp;nbsp;&amp;nbsp;&amp;nbsp; This really, really saved my butt big time once about eight or nine years ago.&amp;nbsp; I had to convert their backend to the new data format manually.&amp;nbsp; (Now I use VBA code and the Compare&amp;#39;Em utility.)&amp;nbsp; Well, I screwed up and converted a copy they had emailed me a few weeks before. &lt;/p&gt; &lt;p&gt;I also added a flag to a table (I always have a GlobalOptions table) in the BE MDB which states if the MDB is Demo, Data or Test.&amp;nbsp; Test should only reside on my system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1653731" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/Tips/default.aspx">Tips</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/Granite+Fleet+Manager/default.aspx">Granite Fleet Manager</category></item><item><title>Access 2003 - "Please wait while Windows configures Microsoft Office Professional  Edition 2003"</title><link>http://msmvps.com/blogs/access/archive/2008/10/03/access-2003-quot-please-wait-while-windows-configures-microsoft-office-professional-edition-2003-quot.aspx</link><pubDate>Fri, 03 Oct 2008 22:57:42 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1649647</guid><dc:creator>Tony</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1649647</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1649647</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/10/03/access-2003-quot-please-wait-while-windows-configures-microsoft-office-professional-edition-2003-quot.aspx#comments</comments><description>&lt;p&gt;GaryS started a thread titled &lt;a href="http://groups.google.ca/group/microsoft.public.access.setupconfig/browse_thread/thread/8e46823c580bfbbd/8dc80bc29ecb1674" target="_blank"&gt;All Applications work but Access&lt;/a&gt;.&amp;nbsp; I was stumped but he did some more sleuthing and figured out that the &lt;a href="http://support.microsoft.com/kb/945674" target="_blank"&gt;Access 2003 post-Service Pack 3 hotfix package: December 18, 2007&lt;/a&gt; solved the problem.&lt;/p&gt; &lt;p&gt;To GaryS - thanks for posting back the solution.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1649647" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Compile error: Sub or Function not defined</title><link>http://msmvps.com/blogs/access/archive/2008/06/27/compile-error-sub-or-function-not-defined.aspx</link><pubDate>Fri, 27 Jun 2008 20:06:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1638524</guid><dc:creator>Tony</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1638524</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1638524</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/06/27/compile-error-sub-or-function-not-defined.aspx#comments</comments><description>&lt;p&gt;As a follow up to my previous blog entry &lt;a target="_blank" href="http://msmvps.com/blogs/access/archive/2008/06/16/compile-error-method-or-data-member-not-found.aspx"&gt;Compile error: Method or data member not found&lt;/a&gt; here&amp;#39;s the identical VBA IDE problem but due to a function name not found. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/blogs/access/WindowsLiveWriter/CompileerrorSuborFunctionnotdefined_827/VBASubOrFunctionNotDefined_2.jpg"&gt;&lt;img border="0" width="558" src="http://msmvps.com/blogs/access/WindowsLiveWriter/CompileerrorSuborFunctionnotdefined_827/VBASubOrFunctionNotDefined_thumb.jpg" alt="VBASubOrFunctionNotDefined" height="71" style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;In the above screen shot CalcPrice is the undefined function yet the VBA showed the previous variable.&lt;/p&gt;
&lt;p&gt;Note that I frequently use the If ... Then _ if there is only one line of code to be executed.&amp;nbsp; Looks nicer, in my opinion,&amp;nbsp;and shortens code.&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1638524" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/VBA/default.aspx">VBA</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Compile error: Method or data member not found</title><link>http://msmvps.com/blogs/access/archive/2008/06/16/compile-error-method-or-data-member-not-found.aspx</link><pubDate>Mon, 16 Jun 2008 07:49:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1635541</guid><dc:creator>Tony</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1635541</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1635541</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/06/16/compile-error-method-or-data-member-not-found.aspx#comments</comments><description>&lt;p&gt;I&amp;#39;d forgotten about this bug in Access 2003 VBA.&amp;nbsp; I was getting the message Compile error: Method or data member not found but the me. control was just fine.&amp;nbsp; In fact I could see the control in the line above.&amp;nbsp; I spent about 10 minutes trying things getting more and more frustrated.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;A dim memory of getting something weird like this before surfaced and so I tried putting a quote in the code to separate out the parts of the line of code that weren&amp;#39;t, apparently, causing a problem.&amp;nbsp; And that fixed the problem.&lt;/p&gt;
&lt;p&gt;Oh yeah, now I remember that bug.&amp;nbsp;&amp;nbsp; If you have several me controls on a line, or maybe two field from a recordset or such VBA can get confused if one control or field doesn&amp;#39;t exist and indicate an error with the other control or field before it on the same line.&lt;/p&gt;
&lt;p&gt;In the below the red circled control ptxCostz is the problem while the white on black control ptxMarkupPct&amp;nbsp; is innocent of any wrong doing.&amp;nbsp;&amp;nbsp;&amp;nbsp; And see how ptxMarkupPct is used three lines up and at the beginning of the line?&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/blogs/access/WindowsLiveWriter/CompileerrorMethodordatamembernotfound_BAA/VBAMethodOrDataMemberbug_2.jpg"&gt;&lt;img border="0" width="604" src="http://msmvps.com/blogs/access/WindowsLiveWriter/CompileerrorMethodordatamembernotfound_BAA/VBAMethodOrDataMemberbug_thumb.jpg" alt="VBAMethodOrDataMemberbug" height="303" style="border:0px;" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1635541" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/VBA/default.aspx">VBA</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>KB article 950812: Compact and repair might delete your database (Access 2007)</title><link>http://msmvps.com/blogs/access/archive/2008/05/29/kb-article-950812-compact-and-repair-might-delete-your-database-access-2007.aspx</link><pubDate>Fri, 30 May 2008 00:41:40 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1628989</guid><dc:creator>Tony</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1628989</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1628989</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/05/29/kb-article-950812-compact-and-repair-might-delete-your-database-access-2007.aspx#comments</comments><description>&lt;p&gt;If you&amp;#39;re reading my blog then you should also be subscribed to the MS Access team blog.&amp;nbsp; Nevertheless this is an important notice for Access 2007 foilks so here you go.&amp;nbsp; &lt;a href="http://blogs.msdn.com/access/archive/2008/05/29/kb-article-950812-compact-and-repair-might-delete-your-database-access-2007.aspx" target="_blank"&gt;KB article 950812: Compact and repair might delete your database (Access 2007)&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;There have been isolated reports in the newsgroups of vanishing databases after doing a compact and repair in Access 2007.&amp;nbsp; &lt;/p&gt; &lt;p&gt;I&amp;#39;ve been off to two funerals and visiting family in Manitoba these last few weeks thus nothing new on my blog. Besides I was on dialup.&amp;nbsp; RIP Alice Toews and Jan Bron.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1628989" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Bug in ADO, SQL Server and latest OS SPs</title><link>http://msmvps.com/blogs/access/archive/2008/05/10/bug-in-ado-sql-server-and-latest-os-sps.aspx</link><pubDate>Sun, 11 May 2008 04:56:55 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1619391</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1619391</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1619391</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/05/10/bug-in-ado-sql-server-and-latest-os-sps.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/951937" target="_blank"&gt;On a computer that is running Windows Vista, Windows Server 2008, or Windows XP, an incorrect value is returned when an application queries the identity column value of a newly inserted row in various versions of SQL Server 2005 and of SQL Server 2000&lt;/a&gt;&lt;/p&gt; &lt;p&gt;Now I don&amp;#39;t know that this affects Access but the KB article states &amp;quot;Applications that use the ActiveX Data Objects (ADO) interface ...&amp;quot;&lt;/p&gt; &lt;p&gt;Thanks to fellow MVP Steve Foster for mentioning this KB article.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1619391" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>The expression On Click you entered ...</title><link>http://msmvps.com/blogs/access/archive/2008/04/23/the-expression-on-click-you-entered.aspx</link><pubDate>Wed, 23 Apr 2008 06:40:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1600551</guid><dc:creator>Tony</dc:creator><slash:comments>18</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1600551</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1600551</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/04/23/the-expression-on-click-you-entered.aspx#comments</comments><description>&lt;p&gt;I was getting the below error message in Access 2003 when I clicked on a command button.&amp;nbsp; Likely because I was working on a form module and possibly saved it while the form was in regular view and not in design view.&lt;/p&gt;
&lt;p&gt;&amp;quot;The expression On Click you entered as the event property setting produced the following error: &lt;br /&gt;Object or class does not support the set of events.&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msmvps.com/blogs/access/WindowsLiveWriter/TheexpressionOnClickyouentered_13EF1/TheExpressionOnClick_2.jpg"&gt;&lt;img border="0" width="681" src="http://msmvps.com/blogs/access/WindowsLiveWriter/TheexpressionOnClickyouentered_13EF1/TheExpressionOnClick_thumb.jpg" alt="TheExpressionOnClick" height="168" style="border-right:0px;border-top:0px;border-left:0px;border-bottom:0px;" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;Commenting all the code behind the form did not fix the problem.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Setting the Has Module to No and saving the form, surprisingly, did not fix this problem. &lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://www.granite.ab.ca/access/decompile.htm"&gt;Decompiling&lt;/a&gt; the MDB also did not fix the problem. &lt;/p&gt;
&lt;p&gt;This problem also existed when I opened up the MDB in Access 2000 and clicked on a button on the form. &lt;/p&gt;
&lt;p&gt;Importing all the objects into a new MDB finally did the job. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Hint: when importing lots of objects into a new MDB minimize the database container window before importing. Access will import much, much faster.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;As a bonus a child sub form which wasn&amp;#39;t saving the parent value in the child table also started working properly.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;As a side note every hour or two I always go into Windows Explorer, click on the MDB and do a Ctrl+C and a Ctrl+V to copy the FE MDB.&amp;nbsp; Every few days I zip all those and move them to an archive folder.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Added:&amp;nbsp; I later figured out that I just needed to do a Save As of the troublesome form.&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1600551" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Getting Your "Favorite" &lt;Microsoft Product&gt; Bug Fixed</title><link>http://msmvps.com/blogs/access/archive/2008/01/13/getting-your-quot-favorite-quot-lt-microsoft-product-gt-bug-fixed.aspx</link><pubDate>Mon, 14 Jan 2008 00:54:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1461971</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1461971</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1461971</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2008/01/13/getting-your-quot-favorite-quot-lt-microsoft-product-gt-bug-fixed.aspx#comments</comments><description>&lt;p&gt;A very interesting article describing how Microsoft personnel decides which bugs get fixed first.&amp;nbsp;&amp;nbsp; &lt;a href="http://blogs.msdn.com/dtjones/archive/2008/01/11/getting-your-quot-favorite-quot-sql-server-bug-fixed.aspx" target="_blank"&gt;Getting Your &amp;quot;Favorite&amp;quot; SQL Server Bug Fixed&lt;/a&gt;.&amp;nbsp;&amp;nbsp; This does apply to other products within Microsoft. &lt;p&gt;Allen Brown, of course, has done a fine job of documenting a number of these &amp;quot;quirks&amp;quot;, shall we say, in Access 2003 and older and has had some of those fixed in Access 2007.&amp;nbsp; He is also tracking bugs in Access 2007. &lt;p&gt;If you want a bug fixed write something up along the lines suggested and post it to the public Microsoft newsgroups.&amp;nbsp; This will bring up some discussion for possible work arounds and, if we fellow MVPs feel it is worth while, we&amp;#39;ll send it off to the Microsoft Access team.&amp;nbsp;&amp;nbsp; Be meticulous on your repro steps. &lt;p&gt;For example there was some &lt;a href="http://groups.google.ca/group/microsoft.public.access/browse_thread/thread/942f00f8fa7ee7f8/ede06cc59a94d9ae" target="_blank"&gt;recent discussion in the public newsgroups&lt;/a&gt; on why &lt;a href="http://support.microsoft.com/kb/924741" target="_blank"&gt;The ID field is increment by one every time that you add a field to a new table in Datasheet&lt;/a&gt; view in Access 2007 was not fixed in Access 2007 SP1.&amp;nbsp; Part of this may very well have been that it was too late in the Service Pack cycle to get it fixed.&amp;nbsp; However Microsoft personnel may also have decided that this particular bug doesn&amp;#39;t impact many people and put it at a lower priority than other bugs.&amp;nbsp; So it might get fixed in SP2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1461971" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Access 2007: "This database is in an unrecognized format"</title><link>http://msmvps.com/blogs/access/archive/2007/12/20/access-2007-quot-this-database-is-in-an-unrecognized-format-quot.aspx</link><pubDate>Thu, 20 Dec 2007 22:05:25 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1408231</guid><dc:creator>Tony</dc:creator><slash:comments>14</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1408231</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1408231</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2007/12/20/access-2007-quot-this-database-is-in-an-unrecognized-format-quot.aspx#comments</comments><description>&lt;p&gt;An accde or mde created in Access 2007 SP1 can&amp;#39;t be read in Access 2007 no SP.&lt;/p&gt; &lt;p&gt;&lt;a href="http://support.microsoft.com/kb/946205" target="_blank"&gt;Error message when you try to open a compiled database file or a compiled project file in Access 2007: &amp;quot;This database is in an unrecognized format&amp;quot;&lt;/a&gt;&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.granite.ab.ca/access/corruption/symptoms.htm" target="_blank"&gt;Some Microsoft Access MDB Corruption Symptoms&lt;/a&gt; page has been updated accordingly&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1408231" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Access 2003 SP3 bug on bit data type field in a linked SQL Server table</title><link>http://msmvps.com/blogs/access/archive/2007/11/07/access-2003-sp3-bug-on-bit-data-type-field-in-a-linked-sql-server-table.aspx</link><pubDate>Wed, 07 Nov 2007 23:13:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1286867</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=1286867</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=1286867</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2007/11/07/access-2003-sp3-bug-on-bit-data-type-field-in-a-linked-sql-server-table.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;We&amp;#39;ve been seeing reports of this in the newsgroups.&amp;nbsp; Here&amp;#39;s Microsoft&amp;#39;s KB article: &lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;943967&amp;amp;sd=rss&amp;amp;spid=2509"&gt;After you install Office 2003 SP3, you encounter various problems in an Access project when you work with a Bit data type column in a linked SQL Server table&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1286867" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category><category domain="http://msmvps.com/blogs/access/archive/tags/SQL+Server/default.aspx">SQL Server</category></item><item><title>Running Access on a Windows Vista peer to peer network?</title><link>http://msmvps.com/blogs/access/archive/2007/06/13/running-access-on-a-windows-vista-peer-to-peer-network.aspx</link><pubDate>Wed, 13 Jun 2007 17:31:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:960985</guid><dc:creator>Tony</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=960985</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=960985</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2007/06/13/running-access-on-a-windows-vista-peer-to-peer-network.aspx#comments</comments><description>&lt;p&gt;Are you running Access on a Windows Vista peer to peer network?&amp;nbsp; That is the back end MDB is on a Windows Vista machine.&amp;nbsp;&amp;nbsp;And the front end is also on a Windows Vista box.&amp;nbsp; Wierd things are happening?&amp;nbsp;Performance is terrible or Access crashes?&amp;nbsp; The problem is&amp;nbsp;Server Message Block 2.0 (SMB).&amp;nbsp;&amp;nbsp; (This sounds somewhat similar to the OpLocks corruption problem a number of years ago.)&lt;/p&gt;
&lt;p&gt;Then you need to either use a Windows XP or other system as the server or get the recently released hotfix.&amp;nbsp; See the KB article &lt;a class="" href="http://support.microsoft.com/?kbid=935370" target="_blank"&gt;Issues that you may encounter when you open or are using a Microsoft Office Access database on a computer that is running Windows Vista&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You&amp;#39;re running the database on Windows Longhorn Server?&amp;nbsp; On a beta operating system?&amp;nbsp; You&amp;#39;re much braver than I am.&amp;nbsp;&amp;nbsp; However that same article applies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=960985" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access/default.aspx">Access</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item><item><title>Interesting bug in column headings of list boxes in Access 2007</title><link>http://msmvps.com/blogs/access/archive/2007/05/14/interesting-bug-in-column-headings-of-list-boxes-in-access-2007.aspx</link><pubDate>Mon, 14 May 2007 19:55:00 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:904365</guid><dc:creator>Tony</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/rsscomments.aspx?PostID=904365</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://msmvps.com/blogs/access/commentapi.aspx?PostID=904365</wfw:comment><comments>http://msmvps.com/blogs/access/archive/2007/05/14/interesting-bug-in-column-headings-of-list-boxes-in-access-2007.aspx#comments</comments><description>&lt;p&gt;A client asked why some code behind a list box suddenly started updating 57386 records in a table instead of the expected 38 records.&amp;nbsp; Turns out the problem is a difference in behavior between Access 2007 and previous versions of Access.&amp;nbsp; The following code selects all 38 records in the list box in A2003.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For lngLoop = 0 To Me.lstUnreceivedPieces.ListCount - 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.lstUnreceivedPieces.Selected(lngLoop) = True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next lngLoop&lt;/p&gt;
&lt;p&gt;However in Access 2007 the above code also selects the heading line.&amp;nbsp; You can visually see the difference on the list box between Access 2003 and Access 2007.&lt;/p&gt;
&lt;p&gt;Now strictly speaking the code should&amp;#39;ve started at 1 and not 0 to avoid selecting the heading line.&amp;nbsp; But that wasn&amp;#39;t a problem in A2003 and earlier.&amp;nbsp; And I can certainly see a developer not even thinking about this issue.&lt;/p&gt;
&lt;p&gt;So later on his query then had the following as part of his WHERE clause&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Pieces.pID=pID OR Pieces.pID=52811 OR ...&lt;/p&gt;
&lt;p&gt;instead of &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Pieces.pID=52811 OR ...&lt;/p&gt;
&lt;p&gt;Needless to say all 57386 records were updated.&lt;/p&gt;
&lt;p&gt;So now we need to go into every list box in every app and double check this behavior.&lt;/p&gt;
&lt;p&gt;This bug has been reported to Microsoft.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt;:&amp;nbsp; Ken Snell, fellow MVP&amp;nbsp;couldn&amp;#39;t recall where he got the ideo from in the first place but&amp;nbsp;the suggestion is changing the For line to read &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For lngLoop = 0 - (Me.lstUnreceivedPieces.ColumnHeads) To _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (Me.lstUnreceivedPieces.ListCount - 1)&lt;/p&gt;
&lt;p&gt;Nice trick that.&lt;/p&gt;
&lt;p&gt;Note that this problem happens whether the Multi Select property is simple or complex.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&amp;nbsp; You can &lt;a class="" href="http://www.granite.ab.ca/download/A2007ListBoxBug.zip"&gt;download the file&lt;/a&gt; and open it in both A2003 or earlier and A2007 to see the difference.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&amp;nbsp; You can either search through all your code looking for .selected or run the following code to open all forms with list boxes in design view.&lt;/p&gt;
&lt;p&gt;Sub FindFormsWithListBoxes()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim doc As Document, ctl As Control, Count As Long, Form As Form&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim db As Database, ListBoxOnThisForm As Boolean&lt;br /&gt;&amp;nbsp;&amp;nbsp; On Error GoTo FindFormsWithListBoxes_Error&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set db = CurrentDb&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each doc In db.Containers!Forms.Documents&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ListBoxOnThisForm = False&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DoCmd.OpenForm doc.Name, acDesign&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set Form = Forms(doc.Name)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For Each ctl In Form.Controls&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ctl.ControlType = acListBox Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ListBoxOnThisForm = True&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit For&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next ctl&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If ListBoxOnThisForm = False Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DoCmd.Close acForm, doc.Name&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Count = Count + 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;tagNextForm:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next doc&lt;/p&gt;
&lt;p&gt;MsgBox &amp;quot;The &amp;quot; &amp;amp; Count &amp;amp; &amp;quot; forms with listboxes have been left open in design view.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; On Error GoTo 0&lt;br /&gt;&amp;nbsp;&amp;nbsp; Exit Sub&lt;/p&gt;
&lt;p&gt;FindFormsWithListBoxes_Error:&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Select Case Err.Number&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case 7784 &amp;#39; This form or report is already being designed as a subform or subreport&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;msgbox doc.Name &amp;amp; &amp;quot; is a subform on an already open form so is being ignored.&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resume tagNextForm&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Case Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox &amp;quot;Error &amp;quot; &amp;amp; Err.Number &amp;amp; &amp;quot; (&amp;quot; &amp;amp; Err.Description &amp;amp; &amp;quot;) in procedure FindFormsWithListBoxes of Module Module1&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Select&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Exit Sub&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Resume&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;End Sub&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=904365" width="1" height="1"&gt;</description><category domain="http://msmvps.com/blogs/access/archive/tags/Access+2007/default.aspx">Access 2007</category><category domain="http://msmvps.com/blogs/access/archive/tags/bug/default.aspx">bug</category></item></channel></rss>