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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Using for to append modified records to new table



 
 
Thread Tools Display Modes
  #1  
Old February 12th, 2010, 06:07 PM posted to microsoft.public.access.forms
bev
external usenet poster
 
Posts: 182
Default Using for to append modified records to new table

I have a table with thousands of records. As these records are reviewed
additional fields are populated. As these fields are populated, I want them
to append to a different table. How do I achieve this?
  #2  
Old February 12th, 2010, 06:15 PM posted to microsoft.public.access.forms
KARL DEWEY
external usenet poster
 
Posts: 10,767
Default Using for to append modified records to new table

As these fields are populated, I want them to append to a different table.
Fields are not appended, only records.
Why are you not using that table to start with?

Explain a little bit more about your operation and someone might be able to
suggest a better method.

--
Build a little, test a little.


"Bev" wrote:

I have a table with thousands of records. As these records are reviewed
additional fields are populated. As these fields are populated, I want them
to append to a different table. How do I achieve this?

  #3  
Old February 12th, 2010, 06:23 PM posted to microsoft.public.access.forms
bev
external usenet poster
 
Posts: 182
Default Using for to append modified records to new table

I am using it for all records. I only want append those records with
modifications to a new table

"KARL DEWEY" wrote:

As these fields are populated, I want them to append to a different table.

Fields are not appended, only records.
Why are you not using that table to start with?

Explain a little bit more about your operation and someone might be able to
suggest a better method.

--
Build a little, test a little.


"Bev" wrote:

I have a table with thousands of records. As these records are reviewed
additional fields are populated. As these fields are populated, I want them
to append to a different table. How do I achieve this?

  #4  
Old February 12th, 2010, 07:27 PM posted to microsoft.public.access.forms
John W. Vinson
external usenet poster
 
Posts: 18,261
Default Using for to append modified records to new table

On Fri, 12 Feb 2010 10:07:01 -0800, Bev wrote:

I have a table with thousands of records. As these records are reviewed
additional fields are populated. As these fields are populated, I want them
to append to a different table. How do I achieve this?


If you're using a Form to "populate" the additional fields (as you should
be!!) you can use the AfterUpdate event of the form to either run an Append
query to copy data from this table to the other one, or open a Recordset based
on the second table and fill it from the form controls.

But... why are you storing the same data redundantly in two different
tables??? That's almost always a Very Bad Idea.
--

John W. Vinson [MVP]
  #5  
Old February 12th, 2010, 08:26 PM posted to microsoft.public.access.forms
bev
external usenet poster
 
Posts: 182
Default Using for to append modified records to new table

The source data gets replaced on a weekly basis. I need to save a historical
view of the data.

"John W. Vinson" wrote:

On Fri, 12 Feb 2010 10:07:01 -0800, Bev wrote:

I have a table with thousands of records. As these records are reviewed
additional fields are populated. As these fields are populated, I want them
to append to a different table. How do I achieve this?


If you're using a Form to "populate" the additional fields (as you should
be!!) you can use the AfterUpdate event of the form to either run an Append
query to copy data from this table to the other one, or open a Recordset based
on the second table and fill it from the form controls.

But... why are you storing the same data redundantly in two different
tables??? That's almost always a Very Bad Idea.
--

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


All times are GMT +1. The time now is 11:44 PM.


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