Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update One Access DB from Another

Status
Not open for further replies.

lonemarino

Computer
Joined
Apr 10, 2003
Messages
2
Location
US
I need to write a procedure that inserts data from one Access database into another Access database through VBScript. I imagine that this would be done with Recordsets. Can anyone post an example of how to do this for me?

Basically I would want to:

1. select name, date, status from table in 1st database
2. insert that result set into a history table in another database, checking to be sure that it won't create duplicate rows.

The databases have to remain separated since the first database is created by a proprietary application.

Thanks in advance for all replies.
 
You can have a query that appends records from one database into another - look up the INTO SQL keyword.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top