I'm hoping this is a simple fix...
I can't move / delete my MS Access database. It is not open but it is connected to my VBA tool which is connected to the database (not sure does this make a difference).
This is how it looks in file explorer.
Related
I am a beginner in Microsoft Access and one of my friend gave me a copy of his SQL Server file and something with .BAK extension which I believe is the database as it is almost 300MB.
When I try to run the SQL Server file I get cannot connect to backend database error. Searching on the internet I found that I can prevent this by holding shift while opening the database.
Even though this does open the Access file, where I can see all the table,queries, forms, reports and macros icons and names. I cannot open any of them. When I press on one of the table names for example I get
Connection Failed SQL server does not exist or access denied' error.
How do I view the tables?
Your MS Access file is linked to a SQL Server. You basically need to
Install SQL Server Express (it's free)
https://www.microsoft.com/en-au/sql-server/sql-server-editions-express
Restore the .BAK file into SQL Server Express How to import a bak file into SQL Server Express
Relink all of the MS Access linked tables to your installed SQL Server
How does one change the connection string of linked tables in MS Access
This may seem complicated but it is a great opportunity to learn about databases.
Seems your friend is not very helpful.
So basically I made a FamilyTree Program using MS Access DataBase. I want the user to be able to 'Export'(Copy) the Access File and be able to 'Import'(Replace) it in the program after it's already built. I tried looking for this but all I get is how to do these things as a programmer and not a user.
If anyone could point me in the right direction, I'd be grateful :)
Just close the connection to the file and do a simple file copy.
To restore, copy the backup file overwriting the current file.
How might one backup and restore a Microsoft Access database, using VB.NET?
Backing up and restoring a native Access database is simply a matter of copying the entire database file (.mdb for Access_2003 and earlier, .accdb for Access_2007 and later). You could use VB.NET for that, but any scripting language would work, even a simple Windows batch file that does something like
copy /Y d:\apps\databases\mydatabase.accdb z:\backups\databases\*.*
I have a .sdb database file which I need to open. It's the database behind Song Pro (http://creationsoftware.com/).
Google seems to think that openoffice may be able to open this, as it might come from star office. But I can't persuade the file to open in Base 3.2 and there are no reliable instructions as most google results are of the extension definition type.
Initially I could do with doing this in a database browser to see how the database is laid out. But assuming it is holding the correct data I will then want to do this programmatically.
Any help much appreciated.
Thanks
Jona
This page says that the SongPro .sdb file is an MSAccess database and you can just rename it to .mdb and open it with MS Access. There's also a script linked that someone has written to convert the contents of the database.
I am about to release some reports in Access 2007 and I need to lock down the Queries so that no one can change the queries does any one know how I can do this in Access 2007?
Please Note: Simply adding a GUI and hiding the "database window" is not enough as people can still get in with the right key stroke etc.
You could Make an .ACCDE, and give that to your users to execute.
You can create an .accde file from an
.accdb file by clicking Database Tools
on the Office Fluent Ribbon, and then
clicking Make ACCDE. When you create
an .accde file, Access compiles all
the code in the database and strips
the editable version of the code from
the new .accde file. This process both
reduces the size of the resulting
database and guarantees that no one
can change the original source code.
When you open an .accde file in
Access, the form and report designers
and the Visual Basic Editor are not
available. In addition, you cannot
transfer forms, reports, and modules
to another database by export or
import.
However, since an ACCDE is apparently less secure than its predecessor the MDE, your best bet might be to convert the database to Access 2003 format by using the Save As command, and making an MDE from that. If you open an older .mdb file in Access 2007, a Make MDE command appears on the Database Tools tab instead of the Make ACCDE command that appears when you are working in an Access 2007 database.
In Access, if you click the Windows button and then Access Options, then Current Database, you will see options to disable navigation and keyboard shortcuts.