Problems with XP?

dkubiak

Board Regular
Joined
May 17, 2004
Messages
137
Office Version
  1. 2013
Platform
  1. Windows
One of our managers just got a new computer with Windows XP and is having problems with running some marcros on an old access database (built in access 97, I believe). Is there any known incompatibility between these two forces?
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
If he's running on a later version of Office and there is any code in the database, there will be some problems with library references. Also, any code that uses Recordsets will choke because Access 97 uses DAO (data access objects) where later versions can use DAO, but ADO (ActiveX Data Objects) is the default. Do this:

Open any module, then Tools > References. At the top of the list there may be one or more with Missing Uncheck these, scroll down the list to find the missing library / libraries, and click the check boxes ot select them.
Also select the latest DAO library you have, click OK, and then reopen the list. Using the arrows on the right of the window, push DAO above ADO. This makes it the default.
Now, in all modules, replace Recordset with DAO.Recordset, Database with DAO.Database, Tabledef with DAO.Tabledef, Querydef with DAO.Querydef, Parameter with DAO.Parameter.
Save and try it out.
Denis
 
Upvote 0

Forum statistics

Threads
1,221,860
Messages
6,162,479
Members
451,769
Latest member
adyapratama

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top