I have a DB that was created in Access 2000. I remember seeing that there were issues with 2007 when it came out so I never upgraded to it. We're now using an Office 365 subscription. Lately, occasionally, the DB will stop working with an error message "can't find the file". When I try to open the data file there is an error message that says the file has become unstable and Access will try to recover it. This has worked so far but I think I need to convert to the current format. My problem is that I do not have any of the previous versions that will allow the conversion. Does anyone have any suggestions?
Thanks!
12 3126
Knowlton,
As far as I know, you "should" be able to create a new DB in Access 365, then import all your objects from your old DB into your new DB. In my experience, this is the "best" way to have a completely fresh and updated DB. Don't forget to update any references that you used in your VBA editor.
There still may be a few compatibility issues, but most of those should be relatively few, and relatively easy to address, based upon any error messages you receive.
Hope this hepps.
If you come across any snags, please let us know and we will address particulars.
Thanks for your reply! I have a split DB so I'm assuming that I need to convert both front end and back end files.
Yes. Then just run the Linked Table Manager to relink to the new BE.
Best of luck!
Thanks! I'll probably need it.
I'm having trouble trying to correct the following issue. I have an "Invalid use of NEW keyword" error message on the line "Dim ListStates As New Recordset" in the following code: - Private Sub State_NotInList(NewData As String, Response As Integer)
-
'Provide for adding a new state
-
Dim Confirm
-
Confirm = MsgBox(StrConv(NewData, vbProperCase) _
-
& " Not In List." & _
-
vbCrLf & "Do You Want To Add It?", _
-
vbInformation + vbYesNo, "Limited Entry")
-
If Confirm = vbYes Then
-
Dim ListStates As New Recordset
-
ListStates.Open Source:="tlkpStates", _
-
ActiveConnection:=CurrentProject.Connection, _
-
CursorType:=adOpenKeyset, _
-
LockType:=adLockOptimistic
-
ListStates.AddNew
-
ListStates!State = NewData
-
ListStates.Update
-
Me.State = NewData
-
Response = acDataErrAdded
-
Else
-
Response = acDataErrContinue
-
End If
-
-
End Sub
Thanks.
Try declaring it directly as an ADODB Recordset, as this is what it is (apparently). - Dim ListStates As ADODB.Recordset
Get a compile error "user-defined type not defined"
You’ll have to add the reference to ADO.
I'm not sure how to do this. I've been unable to get anything to work.
In your VBA Editor, Tools, References....
Microsoft Office 16.0 Access database engine Object Library is checked. That's the only thing I see relative to ADO.
Microsoft ActiveX Data Objects 6.1 Library
Hope that hepps!
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Chris |
last post by:
How do you stop a user from double-clicking on .ACCDB file of 2007 and
being able to see the tables' and queries structure ?
If the solution is the database password, then database cannot open...
|
by: Robert |
last post by:
I understand that new features would not be available but is there any way I
could open an accdb database in Access 2003?
Robert
|
by: ARC |
last post by:
I have another question. With Access 2007, as I understand it, you only need
to use the .accdb if you are using features such as memo notes history, or
the multiple selections for a given key id.
...
|
by: brendanmcdonagh |
last post by:
Hi all,
I have been working with java on a database program that connects via jdbc odbc access driver on my xp desktop.
It is working fine but I'm installing it on 3 pc's tomorrow so testing it...
|
by: jypw |
last post by:
Hi!
I have 2 accdb files. I need to create a recordset that will include rows comming from 2 tables that are in 2 different accdb file.
Like:
select a.no, a.name, a.address, b.total
from...
|
by: bullfrog83 |
last post by:
I have an .accdb that is linked to a sql server db. I can see the sql db tables in the Navigation Pane. However, I have views, stored procedures and functions on the sql server that I want to link to...
|
by: Eli Naiman |
last post by:
Previously I asked a question "Is this a bug in Access 2013" and I used the "Manage Attachments" section to attach two accdb files. I just realized that accdb files are not in the list of valid...
|
by: Eli Naiman |
last post by:
See attached accdb files
In Form1 Key Preview is set to YES
When you press the ESC key the application exits.
However if you click on Button1 the ESC key does not work anymore.
Button1 just...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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...
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
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,...
|
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...
| |