Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WXP Access07 Runtime generates error on Access07 on Vista.

Posted on 2009-05-19
2
Medium Priority
?
268 Views
Last Modified: 2012-05-07
We just had a new database created for us. It was developed on a Windows XP box that was fully updated and patched from Windows Update.

The runtime of that database generates an error on a Vista box also with MS Access 2007. The Vista machine was also fully patched from Windows Update.

The error is:
Function is not available in expressions in query expression 'Left([IngredientX]![LOC],6'.

I looked through the Library References on both machines and there is NOT one that indicates "MISSING". I did a line by line comparison on each machine and did find a difference however:

On the Vista machine:
Microsoft ADO Ext. 6.0 for DDL and Security

On the XP machine:
Microsoft ADO Ext. 2.8 for DDL and Security

I did some research and determined that this is part of MDAC and that in Vista the included version is 6.0 and there is no 6.0 version available to XP and 2.8 is the most recent (with Service Packs).

Additionally I read some information that indicated the erroring function "Left" is a part of VBE6.DLL and that's where I should look for the solution.

I saw one solution that recommended Late Binding to remedy this. I am not familiar with this but presented the option to the person creating the DB and apparently he isn't either.

Finally, I ran Windows Update on each machine in question and there were updates that hadn't automatically installed. These included .Net Framework 3.5 Update, Office 2007 Update, and Internet Explorer 8. After applying these on the machines in question I still have the error.
0
Comment
Question by:pred8tr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Accepted Solution

by:
pred8tr earned 0 total points
ID: 24426136
I asked the developer to remove all of the referenced libraries and add them back one by one in order to determine the unused and unneeded libraries. He came back to me shortly there after and indicated that by removing the Microsoft ADO Ext. 2.8 for DDL and Security library and recompiling it he was able to generate a runtime that worked on Vista and XP.
0
 
LVL 39

Expert Comment

by:thenelson
ID: 24428769
I have frequently found Access databases that were developed on pre Vista fail for various random reasons on Vista. Decompiling and recompiling on Vista usually resolves these problems. Try that first.

To decompile then recompile:
   in run: msaccess "dbPathName.mdb" /decompile
   Compact/repair:  in run: msaccess "dbPathName.mdb" /compact
   compile: in VB editor: debug> compile
   Compact/repair

   http://www.granite.ab.ca/access/decompile.htm
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question