473,385 Members | 1,492 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,385 software developers and data experts.

Problem with code after Saving Access 2010 Database as 2003

112 100+
I need to save my Access 2010 database in 2003 format so that someone can use it that is only running 2003. My database was built using Access 1997 and has been upgraded over the years to 2003, 2007 and now 2010. The code in question has been there and working since 2003 with no changes, I check back to an earlier version that I had saved. I have pasted the code below. The code is in a Module called “Global Vars” and it does not like line 5 “Global DBase As Database” and line 6 “Global filttogrecset As Recordset”. It gives them the error “Compile error: User-defined type not defined”. If I comment out those lines, it then goes into my forms and has the same error with “Dim rs As Recordset”. There are probably more but that is as far as I got.

I did not program this database, I just manage it and I am not well versed with programing and just have a basic understanding. I done some searching online and have not found much other then there seem to be a lot of problems down grading to an earlier versions. I have read a lot about missing “Libraries” but I don’t know what that means? Anyone have any suggestions?

Expand|Select|Wrap|Line Numbers
  1. Option Compare Database
  2.  
  3. Global imagevar As Integer
  4.  
  5.  Global DBase As Database
  6.  Global filttogrecset As Recordset
  7.  
  8.    Global Fc As Form
Jun 3 '13 #1

✓ answered by Redbeard

I fixed the problem... there was a missing Library reference which I found by comparing my old 2003 version to the downgraded one from 2010. Missing reference was: Microsoft DOA 3.6 Object Library".

2 1977
Redbeard
112 100+
I fixed the problem... there was a missing Library reference which I found by comparing my old 2003 version to the downgraded one from 2010. Missing reference was: Microsoft DOA 3.6 Object Library".
Jun 3 '13 #2
zmbd
5,501 Expert Mod 4TB
Well,
You beat me to the answer.


You'll find this to be the case quite often, as the database goes up in versions, the older libraries are replaced by newer and the pointers updates (of as often as not, you have to go in and update to the newer version by hand!Q).
Jun 3 '13 #3

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

Similar topics

5
by: Chand | last post by:
Private Sub tbDate_AfterUpdate() Dim cnn As New ADODB.Connection Dim rst As New ADODB.Recordset rst.CursorLocation = adUseClient Set cnn = CurrentProject.Connection rst.Open "SELECT * FROM...
1
by: jliebman | last post by:
All, I recently started at a company that has a number of older MS Access 97 database applications that support production and order fulfillment. There is one database with which I have the...
7
by: ssharifi | last post by:
I want to use 2 jumpmenu to let users select publishing date of their document(which only year is necessary to be filled ) and then I will save it in a correct format into db and display what the...
1
by: phill86 | last post by:
Hi, I have an access 2010 database that I want to convert to an SQL Server database and I need to know if the data macros in access will still work in the SQL database or will i have to create...
5
by: jaad | last post by:
Hello, I have a database that was written in access 2007 on my pc. I wanted to work off site with the database so I uploaded it onto my laptop which is loaded with access 2010 beta. When I...
12
by: JohnClingeleffer | last post by:
I use VBA in MS Access to send e-mails. Relevant code for error is: Set oItem= objOL.CreateItem(0) ' Const olMailItem With oItem errMsg = "Error populating Microsoft Outlook mail item...
2
by: sierra7 | last post by:
It seems Access 2010 is associating an 'input mask' or field type with a combo box when a form is opened, even though there is no Format setting on the control. I have a form which has been...
0
by: priyamtheone | last post by:
Hi there, I have a form containing a listbox showing a list of image names. It's bound to the database table. When an image name is clicked it shows the image and imagename in a picturebox and...
1
by: Alan Yim | last post by:
Hi folks, My company recently upgraded our Office suite from 2003 to 2010. The problem in particular is with an Access database that was originally designed in Access 2003. The code in question...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...

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.