Microsoft Access Database Convert Mdb To Accdb

0 views
Skip to first unread message

Elva Stuller

unread,
Aug 5, 2024, 1:46:29 AM8/5/24
to lgatekchettio
Accesscloses the original database and opens a new copy of the database in the format that you specified. Any changes that you make to the database affect only the new copy. To make changes to the original database, you must reopen the original database.

Certain new data types and features can be used only in the .accdb file format and are not supported by earlier versions of Access. If your database contains any of these features, and you attempt to save it as an earlier version database, Access displays a message and does not convert the database. The following list describes factors that prevent conversion to an earlier file format:


Links to external files that are not supported by earlier versions of Access In .accdb Access databases, you can link to several types of data that are not supported by earlier Access versions. These include:


If your database contains links to these types of data sources, you must delete the links before you can convert the database to a file format earlier than Access 2007. One solution is to import the data instead of linking to it, so that the data is contained in the Access database itself. For more information about importing data into an Access database, see the article Introduction to importing, linking, and exporting data in Access.


Database encryption Access databases using the .accdb file format use a new password-protection method that is not compatible with earlier Access versions. If you add a password to an Access .accdb database by using the Encrypt with Password command, you must first remove the password before you can convert the database to an earlier file format. To learn more about adding and removing encryption, see the article Encrypt a database by using a database password.


You can convert databases that were created in Microsoft Office Access 2003, Access 2002, Access 2000, or Access 97 to the .accdb file format. Keep in mind, though, that a database in the .accdb file format cannot be opened or linked to by using versions of Access earlier than Access 2007.


In addition, the .accdb format does not support replication or user-level security. If you need to share your database with people who use Access 2003 or earlier, or if you need to use replication or user-level security, you must use the .mdb file format.


If any database objects are open when you click Save As, Access prompts you to close them prior to creating the copy. Click Yes to make Access close the objects, or click No to cancel the entire process. If needed, Access will also prompt you to save any changes.


If you use an existing database in the Access 95 format (.mdb), you can import tables, queries, and macros from that database into an Office Access 2007 database (.accdb). You can also import forms and reports that do not employ Microsoft Visual Basic for Applications (VBA) code. To import forms and reports that contain VBA code or modules into Access 2007, do the following:


Also, would you say database knowledge is required to accomplish this? Export the current copy, convert it to .accdb and import it to 2016 is what i have been researching on but i have 0 background in this so any help would be greatly appreciated.


I never use Microsoft Access for the work that I do, but I do know that GIS professionals would be able to open or convert the Access data into their GIS. I was sent a .accdb from somebody who needs a map created and web application and I am unfamiliar with what the steps look like from here. I am aware that .accdb are no longer able to open up in Pro (I read in a few forums), however, I feel like there has to be some way to get the data from an .accdb into Pro so I can save the layers as shapefiles or feature classes.


The short answer, not really. I assume you read Microsoft Access (.accdb) Support in ArcGIS Pro? The idea/request has been around for years, and Esri is now saying it is "In Product Plan" but they don't say when it will show up. There is also -platform-standards-and-interoperability/blog/2019/09/26/us...


If you are willing to spend some money, there are several tools that various companies put out that convert entire Access databases to other formats, like SQLite, that ArcGIS Pro can read. I am not aware of any free or open-source tools that do entire DB migration.


For File Geodatabase to Personal Geodatabase to Microsoft Access workflows and reverse, one option is to keep around an older version of ArcGIS Desktop around such as ArcGIS Desktop 10.3.1 around on an older machine or virtual machine.


(posted just after Joshua's repsonse without seeing his...)You can always export your Access Table(s) to csv format and then use a table to table in Pro to bring the csv into a fgdb table. Be careful when you do that as you may need to manually adjust the field types during that process to maintain the original type.


First, let me make clear what I'm saying. Usually an ACCDE is created to protect the design of forms, reports, and VBA codein a database application. The ACCDE may or may not contain the actual data tables -- often, it contains only links to the tables in another database (generally referred to as the "back-end", whereas the ACCDE is the "front-end").


If she has only 64-bit Access and the ACCDE was built with 32-bit Access, then she won't be able to open and run the ACCDE as an *application* -- she won't be able to run the forms and reports, and won't be able to execute any code it contains.


To do that, she would open her copy of Access without selecting an existing database. She would then tell it to create a new, blank database (not a web database). She'd have to provide a name and folder path for that database, and then click the "Create" button. Access will create the database and open it, and will probably open an intial sample table, "Table1". She should just close that table.


She should then go to the "External Data" tab on the ribbon, and from the "Import & Link" tab group she should click "Access". She'll tehn be shown a dialog prompting her to specify the source of the data. She should enter or browse to & select the ACCDE that she's interested in. She should also choose the option, "Link to the data source by creating a linked table". The she should click the OK button.


She'll then be shown a Link Tables dialog where she can select the tables to be linked. It will only show the tables that actually reside in the database she's linking to -- if the ACCDE has linked tables to a back-end somewhere, those tables won't appear. She should then select the tables she wants to link, click the OK button, and Access will take it from there.


If it turns out that the ACCDE has only linked its tables, then she can import the table links instead of linking tables. She'd follow basically the the same process but instead of choosing the "Link ..." option, she'll choose "Import ..." instead. That will copy the table *links* from the ACCDE into her working database.


If the ACCDE contains stored queries that she wants to use, she can import them. To do that, she would use a similar procedure, except that she woluld choose the "Import" option, go to the Queries tab of the Import dialog, and select the queries she wants.


When I did it for experimentation, I just copied my 32bit .accdb onto a drive accessible from the system that had 64 bit Access on it and opened it with 64 bit Access. I had no issues. I imagine any library issues would have shown themselves. Can't say for certain what the .accdb became, or if it changed.


Another option if you want to be somewhat certain you are all 64 is to open a blank DB in the 64 bit version of Access and import everything, tables, queries, etc from the 32 bit .accdb. Tried that too and worked fine.


Actually, we should start by asking if you really MUST do this at all. Although it is possible to install the 64 bit version of MS Office, the most common advice is to use the 32 bit versions of MS Office. For Access, there is little or no benefit in converting to 64 bit. On the other hand, if you must have 64 bit Office in order to crunch enormous datasets in Excel, it's worth the effort to convert your Access APIs. Otherwise, not so much.


And which problem would that be? Are you trying to convert from a 32 bit to a 64 bit environment? If so, there are differences in the way you need to handle API calls. 32 bit ActiveX controls won't work in a 64 bit environment.


Accdes must be created using the same version and bitness of Access as the one you will use to run the accde. So, you must start with the original accdb for this MS Access database application. Make sure it runs properly as an accdb on the laptop where you will use it--the one with 64 bit MS Office. Then, when it is all ready, convert that accdb to the accde which will then run on your laptop.


The first question that must be asked is whether you have Access on your laptop. If you are trying to run the accde with the Access Runtime, it will only work with the same bitness. As was mentioned a 32bit accdb will run under 64bit Access, though there may be some adjustments that need to be made depending on what is called in VBA.


There is no reason you need to install 64bit Access on a 64bit laptop. For the longest time MS even recommended you did not install 64bit Office on a 64bit machine unless you really had a specific reason (huge spreadsheet, project files). Is it reasonable to remove the 64bit Access (or Office) and install the 32bit in your case.


Actually, Microsoft is softening their stance on preference for 32 bit Office. By default now, when you install the latest versions (O365 and, I think also O2019) the 64 bit version is installed and it's a matter of sleuthing to even find the 32 bit option.

3a8082e126
Reply all
Reply to author
Forward
0 new messages