473,386 Members | 1,644 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

References problem moving MDE database from XP to Vista

We have an Access 2003 based inventory system custom-designed by someone that is now MIA.

Previously I was running the work-provided desktop computer:

MS Office 2003 + Windows XP

I copied the database files over to my personal laptop, Windows Vista with MS Office 2007 was already installed, and I installed MS Access 2003 to run the Database.

For the most part everything works, but there are a few things that don't, and they are quite key things!

When I go to Tools/References in the VB Editor, it is greyed out. I've tried Resetting the code in case something is running, but it always stays grey.

First:

If I try to print our sales catalogue, it tells me:

doPrint: Function is not available in expressions in query expression 'Format([total_cost].[TotalCost],"Currency")'.

Second:

When I click the button to pull up the lease structure for a vehicle, it tells me:

checkLeaseSourceSetting: Function is not available in expressions in table-level validation expression.

This in itself doesn't seem to prevent me from doing what I need to do... but I don't know if there is something behind-the-scenes that needs to be done that isn't being done because of this error.

Third:

When I try to print the lease documents, it tells me:

Function is not available in expressions in query expression 'LTrim(vehicle_year_1 & ' ' & vehicle_make_1 & ' ' vehicle_model_1)'.

I still have access to the old computer, so if there's any files I can just copy over to my Vista computer to make everything work, that'd be great, because I can't edit anything in the MDE file, obviously.

How would I approach troubleshooting this?

Thanks!!
Feb 15 '12 #1
8 1669
Rabbit
12,516 Expert Mod 8TB
First, there's not much you can do since you can't access the code.

Second, since it's an MDE, the code is compiled and you can't edit the code unless you have the original uncompiled database.
Feb 15 '12 #2
@Rabbit
Is there a way to view the references when it's greyed out, and then stick the right files in the right place/register libraries to restore whatever is broken?
Feb 15 '12 #3
@mike sch
Basically what I am concluding is that it's not liking the Trim/LTRim etc statements. I think it's not accessing the MS Office 11 Object Library correctly - possibly accessing a newer object library? How do I correct it and get it back to the Office 11 library?
Feb 15 '12 #4
Rabbit
12,516 Expert Mod 8TB
Like I said earlier, you can't change any of the stuff related to code unless you have a copy of the uncompiled database. When a compiled database is created, an uncompiled version should always be kept. If that was not done, there's nothing you can do.
Feb 15 '12 #5
I'm not talking about changing the actual code - I'm talking about configuring my computer to match the settings of the old computer as closely as possible to avoid the problems in the first place.

MS Access seems to only show the MS Office 14 Object Library as an option, so how do I uninstall that Object Library and try to force everything in Access to use the Office 11 Object Library?
Feb 15 '12 #6
Rabbit
12,516 Expert Mod 8TB
Changing references is part of changing the code. Which you can't do because it's compiled.
Feb 15 '12 #7
But what I'm saying is that, if the references are hard-coded into the MDE, then why can't I shape my computer to match what the code is expecting?

For example, if there is a reference to c:\123.dll but c:\123.dll does not exist on Computer B, then putting 123.dll in c:\ should technically make the reference accurate once again, should it not?
Feb 15 '12 #8
Rabbit
12,516 Expert Mod 8TB
Technically yes. But you won't be able to figure out what was referenced in the database without the uncompiled version.
Feb 15 '12 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Terry | last post by:
I am trying to move a datbase from one machine to another. I have tried two different methods and neither are working. First I tried using : >> mysqldump dbName > backup_file.sql >> mysql...
2
by: Massimiliano Campagnoli | last post by:
Good morning, Database PRODUCTION was created on a system mamanged tablespace on drive c:\ Now drive c:\ is running out of space and I need to move PRODUCTION to the larger drive d:\ on the...
6
by: alanknipmeyer | last post by:
Hi, I`m in the process of migrating a Access 2002 (Run in 2000 mode) from Windows 98 to Win2K Server. It is a shared resource via a file share on the 98 Server. Client systems are Win98 with the...
6
by: cj | last post by:
I'm tryin to set up a sqlcommand in VB.NET that would issue the command: insert into server1.database.owner.table select * from server2.database.owner.table Since this sqlcommand has it's...
5
by: serge calderara | last post by:
Dear all, We have one product runing under windows 2000 . This product is based on different VB5 executable accessing local access database. In addition we there are able to send data over...
16
by: MartinC | last post by:
I am trying to install an app that uses dotnet 1.1 in Vista (release), but am warned there is a "compatibility" issue. I hae seen some mention of problems with one beta, but is it still a...
0
by: cmrhema | last post by:
Hello I formatted my hard disk . Before doing so I copied my database file studentdetails and its corresponding log file. I clicked on these two files and copied it on a CD. Now I have installed...
8
by: chu2ch | last post by:
Good Day Folks, We have an .net 2.0 application that has been working reasonably well in windows xp, we have installed our application on windows vista business and have noticed a significant...
7
by: =?Utf-8?B?RGF2aWRBdmlzb2Z0?= | last post by:
I support some legacy applications and use both VB6 and VB7 (.net) development environments on a Windows XP computer. The machine is due for replacement. The question is - can I install vb6 and...
11
by: idoublepress | last post by:
Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.