My job recently upgraded to office 2016, and I created some After Delete Macros in Access 2016 to save deleted data from some tables in graveyard tables.
These work fine for the tables where I had to create the graveyard tables after going to Access 2016, but the tables that already had graveyard tables won't work. I used graveyard tables on the old access (2007) by adding a delete column, checking delete for rows that will be deleted, then running a query that moved all the ones marked delete to the graveyard table.
I feel this has to be connected to the issue behind it. I have a split DB, and have imported the new tables, updated the tables with the link manager, etc. I am really dumbfounded as to why it only works for some tables, and those are the tables that got a newly created graveyard table.
Related
I recently split my database with BE being stored on the network drive. When I open the DB and run Linked Table Manager to refresh linked tables, I get an error message that one of the tables has incorrect or long name. Looking at the table name, it refers to one of the tables that I have deleted long time ago (before db has been split and tables linked) and never used it but for some reason Linked Table Manager still sees it somewhere.
I repeat that this table does not exist anymore in my DB as it has been deleted. Do you know what could be the cause of this?
What are common reasons for a Query not reflecting newly imported data?
I have a database with three tables with the first linked to the other two. I have a subdatasheet set up in the first table that are not reflecting newly imported data from the other two tables. Also Queries that should show all of the data from the tables together are not showing the newly imported data.
I have refreshed the spreadsheets, saved, and close/reopen. Suggestions?
I was working on an Access Application that has already an access database (tables, queries etc ) and a front end. I was trying to link access existing database tables with mysql. So, what I have done so far is, I have successfully linked the access tables with mysql using ODBC. My understanding regarding linking access table with mysql db was that, by doing so, I would have the same 'old' access table linked with mysql, but I was wrong. Instead after linking I got a new table (fields same as old) that has links with mysql database.
http://i.imgur.com/mfSF5hR.png [See this link showing old 'access' and new 'linked' table]
For instance, I had an 'Actor' table in access db (before linking) and after it I have 2 tables. One is the old access 'Actor' table and other is the new linked table named 'Actor1'. So, if I do changes in my old access table, the table in mysql doesn't get change but when I do changes in my new linked table i.e 'Actor1' changes happen in mysql table too.
Here the problem is my front end form/queries are using my access table the old one, so is there any way to use new 'linked' table without changing in the front end ?
Thanks in advance.
You just need to rename your Linked MySQL table (rename the link in Access only) so that it matches perfectly the name you were using for that same table before in Access. This way you won't have to change your forms, queries, reports.
There is no magic that happens in Access between local tables and linked tables. It's still up to you to move your data, make sure the MySQL table is designed the way you want it, maintain the links, delete old Access tables, etc.
A process that I am running needs to be able to delete a table and then re-create it with new data. I've recently moved it into a different database that houses all the processes for a particular division in one place. I've been required to have all the tables from the original database set up as linked tables in the new one. Now when it is run, the process deletes the linked table reference and creates a new (un-linked) table inside the new database. I know that I can delete the table through the link, but would I then be able to re-create the table and then re-link it to the new database automatically?
There are a number of ways of linking tables, but you seem to be working purely with MS Access, so
DoCmd.TransferDatabase includes Link as one of the options.
I have a situation where I have the 2 copies of a same MS Access DB. In one Db some modifications has been done like , in some tables some new rows has been inserted , some existing rows has been modified.
Now the trick is that i have to identify that in which tables , which rows the modification has been made (in case of any modification done in any existing row) or what are the new rows that have been inserted and in which tables. All these comparysion has to be done against the 2nd copy of that database (before all the modifications).
CAn any one help me out in this? I
If you have access to Visual Studio, the database edition has schema and data compare functionality that is made for just this sort of problems.