dbTalk Databases Forums  

Erasing data question

comp.databases.ms-access comp.databases.ms-access


Discuss Erasing data question in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
PAR
 
Posts: n/a

Default Erasing data question - 07-04-2010 , 10:30 PM






I have a 2003 MS Access database using 2000 file format. The database was
originally written with Access 2 (1995) and upgraded to where it currently
is. The database is split into APPS and DATA. I want to give the database to
someone else, but without my data. How can I either erase all of my data
(over 18000 records) or create a new blank data table and link it to the
APPS? My programming knowledge is minimal, so explain in baby steps please.
If there is a more appropriate NG to post this question, please let me know.
Thanks in advance.

Reply With Quote
  #2  
Old   
Salad
 
Posts: n/a

Default Re: Erasing data question - 07-04-2010 , 10:57 PM






PAR wrote:
Quote:
I have a 2003 MS Access database using 2000 file format. The database was
originally written with Access 2 (1995) and upgraded to where it currently
is. The database is split into APPS and DATA. I want to give the database to
someone else, but without my data. How can I either erase all of my data
(over 18000 records) or create a new blank data table and link it to the
APPS? My programming knowledge is minimal, so explain in baby steps please.
If there is a more appropriate NG to post this question, please let me know.
Thanks in advance.

Well, you could create a new database called DataBlank.mdb (you choose
name).

Now from the menu in Datablank select File/GetExternalData/Import and
select your backend database with data. Select all tables. Now select
the "Options" button. The default is Definition and Data. Change that
to Definition Only. Then hit the OK button.

Of course, you'd need to relink the tables to the new backend in the
frontend.

You can select Tools/Database Utilities/Linked Table Manager (select
Always Prompt For New Location in bottom left) or use code. Here's some
code to relink. http://www.mvps.org/access/tables/tbl0009.htm or use
Google to find other examples.

Reply With Quote
  #3  
Old   
PAR
 
Posts: n/a

Default Re: Erasing data question - 07-05-2010 , 12:55 AM



Thank You for the easy to follow instructions. Worked perfect! Thanks a
million!







"Salad"
Quote:
PAR wrote:
I have a 2003 MS Access database using 2000 file format. The database was
originally written with Access 2 (1995) and upgraded to where it
currently is. The database is split into APPS and DATA. I want to give
the database to someone else, but without my data. How can I either erase
all of my data (over 18000 records) or create a new blank data table and
link it to the APPS? My programming knowledge is minimal, so explain in
baby steps please. If there is a more appropriate NG to post this
question, please let me know. Thanks in advance.


Well, you could create a new database called DataBlank.mdb (you choose
name).

Now from the menu in Datablank select File/GetExternalData/Import and
select your backend database with data. Select all tables. Now select
the "Options" button. The default is Definition and Data. Change that to
Definition Only. Then hit the OK button.

Of course, you'd need to relink the tables to the new backend in the
frontend.

You can select Tools/Database Utilities/Linked Table Manager (select
Always Prompt For New Location in bottom left) or use code. Here's some
code to relink. http://www.mvps.org/access/tables/tbl0009.htm or use
Google to find other examples.


Reply With Quote
  #4  
Old   
Salad
 
Posts: n/a

Default Re: Erasing data question - 07-05-2010 , 01:30 AM



PAR wrote:

Quote:
Thank You for the easy to follow instructions. Worked perfect! Thanks a
million!

You are welcome. The only thing I forgot to mention is you might have
some lookup tables. You'd want to keep those if they are static. Ex:
a status codes table.

Quote:





"Salad"

PAR wrote:

I have a 2003 MS Access database using 2000 file format. The database was
originally written with Access 2 (1995) and upgraded to where it
currently is. The database is split into APPS and DATA. I want to give
the database to someone else, but without my data. How can I either erase
all of my data (over 18000 records) or create a new blank data table and
link it to the APPS? My programming knowledge is minimal, so explain in
baby steps please. If there is a more appropriate NG to post this
question, please let me know. Thanks in advance.


Well, you could create a new database called DataBlank.mdb (you choose
name).

Now from the menu in Datablank select File/GetExternalData/Import and
select your backend database with data. Select all tables. Now select
the "Options" button. The default is Definition and Data. Change that to
Definition Only. Then hit the OK button.

Of course, you'd need to relink the tables to the new backend in the
frontend.

You can select Tools/Database Utilities/Linked Table Manager (select
Always Prompt For New Location in bottom left) or use code. Here's some
code to relink. http://www.mvps.org/access/tables/tbl0009.htm or use
Google to find other examples.





Reply With Quote
  #5  
Old   
PAR
 
Posts: n/a

Default Re: Erasing data question - 07-05-2010 , 01:42 AM



Thanks! I compared all tables with the original database (Apps & Data) and
everything is there.


"Salad"
Quote:
PAR wrote:

Thank You for the easy to follow instructions. Worked perfect! Thanks a
million!

You are welcome. The only thing I forgot to mention is you might have
some lookup tables. You'd want to keep those if they are static. Ex: a
status codes table.







"Salad"

PAR wrote:

I have a 2003 MS Access database using 2000 file format. The database
was originally written with Access 2 (1995) and upgraded to where it
currently is. The database is split into APPS and DATA. I want to give
the database to someone else, but without my data. How can I either
erase all of my data (over 18000 records) or create a new blank data
table and link it to the APPS? My programming knowledge is minimal, so
explain in baby steps please. If there is a more appropriate NG to post
this question, please let me know. Thanks in advance.


Well, you could create a new database called DataBlank.mdb (you choose
name).

Now from the menu in Datablank select File/GetExternalData/Import and
select your backend database with data. Select all tables. Now select
the "Options" button. The default is Definition and Data. Change that
to Definition Only. Then hit the OK button.

Of course, you'd need to relink the tables to the new backend in the
frontend.

You can select Tools/Database Utilities/Linked Table Manager (select
Always Prompt For New Location in bottom left) or use code. Here's some
code to relink. http://www.mvps.org/access/tables/tbl0009.htm or use
Google to find other examples.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.