问题描述
嗨!
我在Access 2007中使用VBA。
我循环通过所有表中的所有表名列表(已选中)外部数据库,需要将外部数据附加到我当前的数据库表(如果该表存在于我当前的数据库中)或者创建一个包含数据的新表(如果该表在当前数据库中不存在)。我错过了一个刷新的组件。在我创建新表之后。
目前,当表不存在时,它会生成表,但是当我到达下一个数据库时,它会查看该表是否存在,它说它不会,并且不断制作新的。
提前致谢!
Hi!
I''m using VBA in Access 2007.
I am looping though a list of all table names in all (selected) external databases and need to append the external data to my current database table (if the table exists in my current database) or make a new table with the data (if the table does not exist in my current database). I''m missing one component which is a "refresh" after I make the new table.
Currently, when the table does not exist, it makes the table, but when I get to the next database and it looks to see if that table exists, it says it doesn''t, and keeps making a new one.
Thanks in advance!
推荐答案
这篇关于需要制作表,刷新,查看表是否存在(VBA)。我该怎么刷新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!