将数据从一个版本迁移到另一个版本 [英] Migrating Data from one version to another version

查看:116
本文介绍了将数据从一个版本迁移到另一个版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序(在MS访问中开发,两个MDB的一个用于FE

,另一个用于BE)

分发给用户组。我们有新的要求需要

修改表格结构,包括添加和删除一些

表格。


什么是将数据从以前的DB MDB迁移到

新DB MDB的最佳方法..

如果我们使用导入实用程序,我们必须为每一个实现这一点

表需要花费大量时间才能完成。


有没有一种简单的方法可以通过在VBA中开发任何功能来实现这一目的。


任何提示或可用于完成任务的代码...

解决方案

我是对不起,但我不知道你在谈论为每张桌子做那个

。在数据库窗口中,File |获取外部数据

将允许您检查所需的对象并一次性导入它们。

可以自动导入表格,但不比文件更容易|获取

外部数据。


Larry Linson

Microsoft Access MVP


" ; KK" < kr ****** @ gmail.com在留言中写道

新闻:11 ********************* @ 73g2000cwn。 googlegrou ps.com ...


>我有一个应用程序(在MS访问中开发,有两个MDB'的一个用于FE

和另一个BE)

分发给用户组。我们有新的要求需要

修改表格结构,包括添加和删除一些

表格。


什么是将数据从以前的DB MDB迁移到

新DB MDB的最佳方法..

如果我们使用导入实用程序,我们必须为每一个实现这一点

表需要花费大量时间才能完成。


有没有一种简单的方法可以通过在VBA中开发任何功能来实现这一目的。


任何提示或可用于完成任务的代码......



感谢您的回复。

大多数表的结构发生了变化(作为

规范化的一部分),可以通过在大多数

表中添加或删除字段来实现。这就是我无法将所有数据直接转储到

新数据库的原因


Larry Linson写道:


对不起,我不是知道你在谈论为每张桌子做那个

所说的话。在数据库窗口中,File |获取外部数据

将允许您检查所需的对象并一次性导入它们。

可以自动导入表格,但不比文件更容易|获取

外部数据。


Larry Linson

Microsoft Access MVP


更准确地说,作为规范化的一部分,新的场地会被添加到某些桌子的某些桌子中,有些场地会被删除,而且很少有场地会被删除

转移到其他桌子。


总的来说,60个桌子中有大约15个变化。


KK写道:


感谢您的回复。

大多数表格的结构发生了变化(作为

规范化的一部分)添加或删除大部分

表。这就是我无法将所有数据直接转储到

新数据库中的原因


Larry Linson写道:


对不起,但我不知道你在谈论做那件事每个表的
。在数据库窗口中,File |获取外部数据

将允许您检查所需的对象并一次性导入它们。

可以自动导入表格,但不比文件更容易|获取

外部数据。


Larry Linson

Microsoft Access MVP


I have an application (Developed in MS access with two MDB''s one for FE
and another for BE)
distributed to user group. We have new requirements that needs to
modify the tables structures including adding and deleting some of the
table feilds.

What is the best way to migrating the data from previous DB MDB to the
new DB MDB..
If we use import utility we have to do that that for each and every
table which takes a lot of time to complete.

Is there a easy way to do this by developing any functions in VBA..

Any tips or available to code to complete the task...

解决方案

I''m sorry, but I don''t know what you are talking about in regard to "do that
for each and every table". On the database window, File | Get External Data
will allow you to check the objects you want and import them all at once.
It''s possible to automate importing tables, but no easier than File | Get
External Data.

Larry Linson
Microsoft Access MVP

"KK" <kr******@gmail.comwrote in message
news:11*********************@73g2000cwn.googlegrou ps.com...

>I have an application (Developed in MS access with two MDB''s one for FE
and another for BE)
distributed to user group. We have new requirements that needs to
modify the tables structures including adding and deleting some of the
table feilds.

What is the best way to migrating the data from previous DB MDB to the
new DB MDB..
If we use import utility we have to do that that for each and every
table which takes a lot of time to complete.

Is there a easy way to do this by developing any functions in VBA..

Any tips or available to code to complete the task...



Thanks for the response.
The structure of most of the tables got changed(As part of
normalization) either by adding or deleting feilds to most of the
tables.This is the reason I cannot dump all the data directly into the
new DB

Larry Linson wrote:

I''m sorry, but I don''t know what you are talking about in regard to "do that
for each and every table". On the database window, File | Get External Data
will allow you to check the objects you want and import them all at once.
It''s possible to automate importing tables, but no easier than File | Get
External Data.

Larry Linson
Microsoft Access MVP


To be more precise, as part of normalization new feilds are added to
some tables, some feields are deleted in some tables and few feilds are
moved to other tables.

On a whole there are changes to around 15 out of 60 tables.

KK wrote:

Thanks for the response.
The structure of most of the tables got changed(As part of
normalization) either by adding or deleting feilds to most of the
tables.This is the reason I cannot dump all the data directly into the
new DB

Larry Linson wrote:

I''m sorry, but I don''t know what you are talking about in regard to "do that
for each and every table". On the database window, File | Get External Data
will allow you to check the objects you want and import them all at once.
It''s possible to automate importing tables, but no easier than File | Get
External Data.

Larry Linson
Microsoft Access MVP


这篇关于将数据从一个版本迁移到另一个版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆