Results 1 to 6 of 6
  1. #1
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Export File to another Database

    Hi All

    I have two Database's, i want to export a query from one database to another and overwrite the second database which has the same file name, when i have used the export function to export from DB1 to DB2 it ask's me do i want to overwrite the existing file, i say yes and it appears that it has worked, when i open DB2 nothing has changed, does any body know how to do this, DB1 has 350 records and DB2 has only three,

    any help would be greatly appreciated



    Maintt

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you tried looking at DoCmd.CopyObject?

  3. #3
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Export File

    Can you explain what I do please

    Maintt

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Have you looked up CopyObject in VBA help yet? Not Access help but VBA help. Press F11 and then F1 for help.

  5. #5
    maintt is offline Novice
    Windows Vista Access 2003
    Join Date
    Jul 2010
    Posts
    26

    Export

    Thanks RuralGuy

    I wiil get on it now

    Thanks for the help

    Maintt

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Post back on this thread if it is still stubborn after reading up in Help.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Export data to .doc(x) file
    By fat drummer in forum Import/Export Data
    Replies: 0
    Last Post: 07-28-2010, 03:51 PM
  2. Replies: 6
    Last Post: 05-11-2010, 02:22 PM
  3. File Export
    By Kencao in forum Import/Export Data
    Replies: 3
    Last Post: 02-01-2010, 05:27 PM
  4. Possible to export *.mdb file to *.exe file?
    By slpuiwan in forum Import/Export Data
    Replies: 1
    Last Post: 12-16-2007, 06:52 PM
  5. How do you export a file with a unique file name
    By Budman42 in forum Import/Export Data
    Replies: 1
    Last Post: 10-15-2006, 06:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums