[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Insert table into backend database

Posted on 2011-02-17
6
Medium Priority
?
290 Views
Last Modified: 2012-05-11
I have an Access application that is split in a front end/back end configuration. Before a particularly large update procedure is called, I would like to save a copy of one of the back end tables in case the user input the incorrect parameters and the table needs to be restored to the previous version.

My question is: Is it possible to insert the table into the back end file from the front end?

*Bonus question: How does Access handle index fragmentation? Does Access rebuild the indices during a compact and repair?
0
Comment
Question by:wipnav
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 28

Expert Comment

by:omgang
ID: 34916531
Create a make table query in your front-end database.  During the process you'll see the option to create the query in another db (current db is default).
OM Gang
0
 
LVL 28

Accepted Solution

by:
omgang earned 2000 total points
ID: 34916535
Sorry, should have been
 During the process you'll see the option to create the table in another db (current db is default).
OM Gang
0
 
LVL 1

Author Comment

by:wipnav
ID: 34917213
Cool, thanks. Any idea about the indices?
0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 
LVL 28

Expert Comment

by:omgang
ID: 34917508
I'm not sure but I think the answer is yes.  Will need to do some checking.
OM Gang
0
 
LVL 28

Expert Comment

by:omgang
ID: 34917690
Here's some info
http://support.microsoft.com/kb/209769/EN-US/

Note the response in this forum Q that states indexes can be rebuilt in Access but there is often no need to do so because compacting does this anyway.  Seems to answer your question
http://msgroups.net/microsoft.public.access/Rebuilding-Table-Indexes

OM Gang
0
 
LVL 1

Author Closing Comment

by:wipnav
ID: 34918188
Great answers! Thanks for your help!
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question