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

How can i set up data to auto transfer to a different table upon .



 
 
Thread Tools Display Modes
  #1  
Old April 5th, 2005, 01:31 PM
Lisa blair
external usenet poster
 
Posts: n/a
Default How can i set up data to auto transfer to a different table upon .

I have a student database with current students and when I type "Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.
  #2  
Old April 5th, 2005, 01:53 PM
DB Queen (Not)
external usenet poster
 
Posts: n/a
Default

To put it in female terms I am trying to say - If Status="archive"then move
record to (table "Archive")

"Lisa blair" wrote:

I have a student database with current students and when I type "Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.

  #3  
Old April 5th, 2005, 02:25 PM
Rick B
external usenet poster
 
Posts: n/a
Default

There is no need to move it. In your reports, queries, and forms, simply
exclude any records with the status of "archive". It is not normal database
practices to move data from table to table.


Rick B


"DB Queen (Not)" wrote in message
...
To put it in female terms I am trying to say - If Status="archive"then

move
record to (table "Archive")

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.



  #4  
Old April 5th, 2005, 05:25 PM
Eduman
external usenet poster
 
Posts: n/a
Default

Seeing this post, I have a followup question. I have a student discipline
database that was becoming large (for our standards) so I created an archive
table and a macro that did an append and delete query to the tables. If not
archiving, how do you get around having to go through 8000 records to view
more recent ones? Many of the teachers who use my database are not Access or
general database literate (no offense to them as they have told me this). If
I setup a filter or allowed the menubar filter to be present, I'm afraid
there would be corruption problems and accidental erasures/changes to
existing records.

"Rick B" wrote:

There is no need to move it. In your reports, queries, and forms, simply
exclude any records with the status of "archive". It is not normal database
practices to move data from table to table.


Rick B


"DB Queen (Not)" wrote in message
...
To put it in female terms I am trying to say - If Status="archive"then

move
record to (table "Archive")

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.




  #5  
Old April 5th, 2005, 06:58 PM
Rick B
external usenet poster
 
Posts: n/a
Default

You would add an "archive" field to the table. Or an "inactive" field. Or
you could include a date in your records.

Then, any form, report, or query would have the criteria [Archive] = false
or [Inactive] = False or [DisciplineDate] Date()-365

Do not set up filters or make them do it, simply include the criteria in
your query. In other words, the form NEVER displays the old records. You
don't have to move them to another table, you simply mark them as "old".

Furthermore, these "discipline" records would most likely be tied to a
particular student. If that student is flagged as "inactive" or has an
entry in the "graduation date" or similar, then their records should not
show up anywhere.

You never want to build a database that requires you to go in and clean
stuff up all the time. Use the queries to determine what data you are
looking at.

Of course, there will come a point when you may want to get rid of old
stuff, but my personal philosophy is that if you will need it for any
reason, keep it out there and flag it as old. The only time I take it out
of the table is when it is so old that I no longer need it, and then I
simply run delete queries.

Rick B



"Eduman" wrote in message
...
Seeing this post, I have a followup question. I have a student discipline
database that was becoming large (for our standards) so I created an

archive
table and a macro that did an append and delete query to the tables. If

not
archiving, how do you get around having to go through 8000 records to view
more recent ones? Many of the teachers who use my database are not Access

or
general database literate (no offense to them as they have told me this).

If
I setup a filter or allowed the menubar filter to be present, I'm afraid
there would be corruption problems and accidental erasures/changes to
existing records.

"Rick B" wrote:

There is no need to move it. In your reports, queries, and forms,

simply
exclude any records with the status of "archive". It is not normal

database
practices to move data from table to table.


Rick B


"DB Queen (Not)" wrote in message
...
To put it in female terms I am trying to say - If Status="archive"then

move
record to (table "Archive")

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file

and
delete from the current records file.






  #6  
Old April 5th, 2005, 07:00 PM
Rick B
external usenet poster
 
Posts: n/a
Default

I guess the question to ask is, "Why did you archive it?" Is it because you
may need to use that data from time to time? If so, wouldn't it be nice to
pull the archive data AND the current data in those instances?

Doing it as you currently do would not allow that. If you ever needed to
evaluate current and archive data, you'd have to run multiple reports.

Rick B


"Eduman" wrote in message
...
Seeing this post, I have a followup question. I have a student discipline
database that was becoming large (for our standards) so I created an

archive
table and a macro that did an append and delete query to the tables. If

not
archiving, how do you get around having to go through 8000 records to view
more recent ones? Many of the teachers who use my database are not Access

or
general database literate (no offense to them as they have told me this).

If
I setup a filter or allowed the menubar filter to be present, I'm afraid
there would be corruption problems and accidental erasures/changes to
existing records.

"Rick B" wrote:

There is no need to move it. In your reports, queries, and forms,

simply
exclude any records with the status of "archive". It is not normal

database
practices to move data from table to table.


Rick B


"DB Queen (Not)" wrote in message
...
To put it in female terms I am trying to say - If Status="archive"then

move
record to (table "Archive")

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file

and
delete from the current records file.






  #8  
Old April 6th, 2005, 08:37 AM
DB Queen (Not)
external usenet poster
 
Posts: n/a
Default

Just a note to say thanks to all you guys who helped me with this. Really
appreciate it. Will play around with it today and hopefully get the result I
am looking for.

"Lisa blair" wrote:

I have a student database with current students and when I type "Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.

  #9  
Old April 7th, 2005, 05:02 AM
Chris
external usenet poster
 
Posts: n/a
Default

Hi,
I agree with the idea of having a status flag/indicator on the table to help
with the query.
Regards

Chris
(I have developed a similar application in VB if you are interested)
Have not posted the domain name as not sure if I'm allowed to do that on
this newsgroup, do not come here often.

"DB Queen (Not)" wrote in message
...
Just a note to say thanks to all you guys who helped me with this. Really
appreciate it. Will play around with it today and hopefully get the

result I
am looking for.

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.



  #10  
Old May 16th, 2005, 03:08 PM
golfmancan
external usenet poster
 
Posts: n/a
Default



"Chris" wrote:

Hi,
I agree with the idea of having a status flag/indicator on the table to help
with the query.
Regards

Chris
(I have developed a similar application in VB if you are interested)
Have not posted the domain name as not sure if I'm allowed to do that on
this newsgroup, do not come here often.

"DB Queen (Not)" wrote in message
...
Just a note to say thanks to all you guys who helped me with this. Really
appreciate it. Will play around with it today and hopefully get the

result I
am looking for.

"Lisa blair" wrote:

I have a student database with current students and when I type

"Archive" in
the status column I want the record to transfer to the archive file and
delete from the current records file.



Have you looked at Teacher's Partner. It is educational software that is far superior to E-teacher. you can find it at http://www.leadinged.com

 




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
Access To Excel: Data Transfer HatesTheCold General Discussion 5 January 7th, 2005 10:17 PM
I need help to transfer data. Frank Martin Database Design 2 January 3rd, 2005 01:47 AM
Data Source issues. ??data.access.pages Phil Database Design 2 October 11th, 2004 02:42 AM
Data Source issues Philippe Database Design 1 October 10th, 2004 09:45 PM
auto new record on enter or data entry Laura Q Using Forms 0 July 27th, 2004 05:53 PM


All times are GMT +1. The time now is 04:32 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.