×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Update One Access DB from Another

Update One Access DB from Another

Update One Access DB from Another

(OP)
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.

RE: Update One Access DB from Another

You can have a query that appends records from one database into another - look up the INTO SQL keyword.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources