How do I import from one database into another?
March 16, 2006 1:10 PM
Subscribe
How can I import selected fields from one database into another database?
I'm writing a tuition and billing management program for my high school, and they'd like to be able to import students from WinSchool (MS Access Database) and EZ-Care (Fox Pro Database), as well as a CSV file, into the database I'm designing for use with my program. The database I'm working with is MS Access 97, with a Visual Basic 6 front end. Ideally, I'd like to create a program or find a free utility I can bundle with the software that would let the user select column names from the source database and then insert all of the records into the target database, kind of like a mail-merge-type thing where you can "match fields". Some of the fields would have to be filled in with zeros and such automatically by the program.
Anyone have code examples? A freeware application? A way to do it in Access itself?
posted by fvox13 to computers & internet (6 comments total)
Not sure about Fox Pro however.
Is the importing something to be done ongoing, or is it a one-time thing? If the former, then you may want to just write something into your VB front end.
If it's a one-time thing, do it in Access. You want the Get External Data command.
posted by SuperSquirrel at 1:23 PM on March 16, 2006