A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Moving data from table to another



 
 
Thread Tools Display Modes
  #1  
Old February 5th, 2006, 08:45 AM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Moving data from table to another

Hi there,
What's the simplest way to move data from one table to another? I tried with
compination with make table query and delete query so that I made a new
table from data (marked with boolean) and then delete query to move the
objects from tha main table. Works all right, but it clears the new table
also. I need the data removed to stay there.
I'm working with a customer database, where old customers should be removed
but data saved.....

Any hints?

elli





  #2  
Old February 5th, 2006, 02:18 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Moving data from table to another

On Sun, 5 Feb 2006 10:45:50 +0200, "elli" wrote:

I'm working with a customer database, where old customers should be removed
but data saved.....


Simplest way is to put a yes/no Active field in the table; simply set
it to False when the customer is "removed", and use queries to select
only active (or inactive) customers. No moving of data is required.

If you want to do so anyway, a combination of an Append query and a
Delete query will work.

John W. Vinson[MVP]
  #3  
Old February 5th, 2006, 02:35 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Moving data from table to another

Hello John
And thank You very much for your answer. Nice suggestion, but in the years
to come the non-active data will grow so huge that it's not an option.
So I guess I'll have to start to work with the append -queries....
I'm not so sure what those do.....
Take care

elli



"John Vinson" kirjoitti
om...
On Sun, 5 Feb 2006 10:45:50 +0200, "elli" wrote:

I'm working with a customer database, where old customers should be
removed
but data saved.....


Simplest way is to put a yes/no Active field in the table; simply set
it to False when the customer is "removed", and use queries to select
only active (or inactive) customers. No moving of data is required.

If you want to do so anyway, a combination of an Append query and a
Delete query will work.

John W. Vinson[MVP]



  #4  
Old February 5th, 2006, 03:12 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Moving data from table to another

Define "grow so huge".

If you're talking about hundreds of thousands of rows, you might have reason
to worry. If it's only going to be hundreds, or even thousands, no big deal.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"elli" wrote in message
...
Hello John
And thank You very much for your answer. Nice suggestion, but in the years
to come the non-active data will grow so huge that it's not an option.
So I guess I'll have to start to work with the append -queries....
I'm not so sure what those do.....
Take care

elli



"John Vinson" kirjoitti
om...
On Sun, 5 Feb 2006 10:45:50 +0200, "elli" wrote:

I'm working with a customer database, where old customers should be
removed
but data saved.....


Simplest way is to put a yes/no Active field in the table; simply set
it to False when the customer is "removed", and use queries to select
only active (or inactive) customers. No moving of data is required.

If you want to do so anyway, a combination of an Append query and a
Delete query will work.

John W. Vinson[MVP]





  #5  
Old February 5th, 2006, 10:53 PM posted to microsoft.public.access.gettingstarted
external usenet poster
 
Posts: n/a
Default Moving data from table to another

Wow! The marketing gurus would tell you that you're nuts for trying
to purge the old customer data. Inactive customers are referred to as
the "dead file" and there are several strategies for re-activating
them or selling to them in some way. The other pearl of wisdom is
that it's much more costly to get a new customer than to sell to an
existing or former customer.

All that being said, at what rate is your total customer base growing?
When do you expect your data tables to approach the 2 gigabyte limit?
My guess is that by the time you hit that limit the limit will be 4
gigabytes or greater. You could also use MSDE or SQL Server as the
back end and pretty well go on forever.

I suggest a strategy that incorporates the one John suggested: Create
a Boolean field for Status. If there is no handy time stamp field in
your current design, add one so that you can tell when this customer's
account was pronounced "dead". With the status field, you can
easily address just the active accounts. If your database should ever
approach the size limit, save a copy and label it something like
'Golden Archive as of "DATE" with customers records back to "DATE"'.
Then, pick a cut-off date in your current database and delete all
customer records that were marked "dead" on or before that date.

HTH
--
-Larry-
--

"elli" wrote in message
...
Hello John
And thank You very much for your answer. Nice suggestion, but in the

years
to come the non-active data will grow so huge that it's not an

option.
So I guess I'll have to start to work with the append -queries....
I'm not so sure what those do.....
Take care

elli



"John Vinson" kirjoitti
om...
On Sun, 5 Feb 2006 10:45:50 +0200, "elli" wrote:

I'm working with a customer database, where old customers should

be
removed
but data saved.....


Simplest way is to put a yes/no Active field in the table; simply

set
it to False when the customer is "removed", and use queries to

select
only active (or inactive) customers. No moving of data is

required.

If you want to do so anyway, a combination of an Append query and

a
Delete query will work.

John W. Vinson[MVP]





 




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PST file has reached maximum size Jeff C General Discussion 2 October 6th, 2005 01:35 PM
Help again from Ken Snell (Query) Randy Running & Setting Up Queries 22 August 29th, 2005 08:15 PM
Update - If statement Dan @BCBS Running & Setting Up Queries 13 December 14th, 2004 06:02 PM
Format on data to import to Access tables? (I need your advice) Niklas Östergren General Discussion 5 December 13th, 2004 02:54 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM


All times are GMT +1. The time now is 10:53 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.