Results 1 to 2 of 2

Thread: Exporting Data from one database into another

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2007
    Posts
    143

    Exporting Data from one database into another

    hello, everyone...

    let's say i have a database, say SQL Server or MS Access.. and of course, it has data inside... and i have to export an entire table's data into a new and separate MS Access file(regardless of whether i am using sql server or also ms access)

    is there a way to export the data from the main database into that new database file?

    the reason i would like some help on this matter is that i have a big database that contains several tables, and there are days, like fridays(before the weekend begins) that someone will need the contents of one table to bring home or to an event to use/update/study... i would like it to be easy to handle in the sense that only the table needed is exported from the main database instead of just creating a new copy of the entire database as regular copy methods of the fso provides.

    any help/ideas/code/links will be great! i'd appreciate any, really. thanks!

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Exporting Data from one database into another

    A couple of ways...

    Copy Acces database objects: http://vbforums.com/showthread.php?t=409309

    Using SQL DTS (substitute Excel with Access): http://vbforums.com/showthread.php?t=402064

    Or just create a linked table in Access and copy the records from that table in Access to another one via copy/paste operation.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width