troubleshooting Question

Insert data from one database into another

Avatar of Lianne072600
Lianne072600 asked on
Visual Basic Classic
11 Comments1 Solution4793 ViewsLast Modified:
Hopefully one of you experts will be able to help me with the following (I have done this before but cannot remember how):

I have two database's DB_FROM and DB_TO, and at the click of a button I want to import all records within a certain date range from DB_FROM tables 1, 2 and 3 into a single table in DB_TO, and then display the records that were imported in a datagrid on the form.

The database's are password protected and located on network drives. In my general module I have two constant's that hold the string locations of the database's. e.g.

Public Const DB_FROM as String = " X:\Hardware\DataFile.mdb"
Public Const DB_TO as String = " X:\Driverfiles\Data.mdb"

Help with this will be greatly appreciated.

Regards

Lianne
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros