Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I create an empty copy of an Access database?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Does anyone know how I can create an empty copy of Access database (resetting all auto-number fields)?
 
Only way I know is to use code, using the TransferDatabase method. You would have to invoke this for all the objects (Tables, Queries, Forms etc) and set the parameter for including table data to False. Not sure if this resets the Autonumber field though. See Access help on TransferDatabase for more info. Have fun! :eek:)

Alex Middleton
 
Hi

You can do this manualy, by creating a NEW database and selecting the objects from the source database you want to import. when you import tables just import data structures and any "autonumber" fields are reset to default.

hth
Robert


Robert Dwyer
rdwyer@orion-online.com.au
 
Ah, of course! I forgot about that option in the import/export process. Have fun! :eek:)

Alex Middleton
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top