Results 1 to 5 of 5
  1. #1
    AllanW is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2014
    Posts
    11

    Create a new empty data base exactly copied from an existing data base


    I have been constructing a data base and through many tests have meaningless data in the forms and tables. I would like to start useing the data base with the intended information without the test rubbish and start forms with line item 1 etcetra. Can I duplicate a data base without including the old data?

  2. #2
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    You can copy each table's structure without the data, or you can simply delete all the data in the tables.

  3. #3
    AllanW is offline Novice
    Windows Vista Access 2003
    Join Date
    Jan 2014
    Posts
    11
    Thanks JoeM, I had hoped for a way to "save as empty data base"

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I do not know of any such option, at least not without creating some VBA code to copy all the table objects with data, or delete all the existing data.
    Here is a link to VBA code to delete all the data out of existing tables in one step: http://stackoverflow.com/questions/6...tables-at-once

  5. #5
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Build a macro that will export the tables you want STRUCTURE ONLY, (no data) to another db.
    TransferDatabase command

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

Similar Threads

  1. data base locking up
    By cwitt11 in forum Access
    Replies: 9
    Last Post: 07-21-2014, 01:28 PM
  2. Replies: 1
    Last Post: 07-08-2014, 06:22 AM
  3. Looking for Person who can create data base
    By nemolist in forum Database Design
    Replies: 3
    Last Post: 02-02-2012, 01:42 PM
  4. Cannot add records to the data base
    By vagelism22678 in forum Access
    Replies: 1
    Last Post: 09-19-2011, 12:45 AM
  5. Every Data Base I create gets corrupted
    By cvegas in forum Programming
    Replies: 2
    Last Post: 08-14-2011, 10:46 AM

Tags for this Thread

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