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  

Back up



 
 
Thread Tools Display Modes
  #1  
Old April 28th, 2004, 03:21 PM
external usenet poster
 
Posts: n/a
Default Back up

I have a table that lists employee names, employee ID,
Badge numbers and other info on the employee. This table
is used in multiple queries. When employees leave they
are deleted from the table. We ran into a small problem
that we actually need to have a seperate table that lists
any employee that has worked in our department wether
currently employed or not. Is there a way that when one
table is updated with new information that it
automatically updates in a second table but when
information is deleted from the first that it not be
deleted from the second table??

Any ideas??
  #2  
Old April 28th, 2004, 03:46 PM
Tim Ward
external usenet poster
 
Posts: n/a
Default Back up

wrote in message
...
I have a table that lists employee names, employee ID,
Badge numbers and other info on the employee. This table
is used in multiple queries. When employees leave they
are deleted from the table. We ran into a small problem
that we actually need to have a seperate table that lists
any employee that has worked in our department wether
currently employed or not. Is there a way that when one
table is updated with new information that it
automatically updates in a second table but when
information is deleted from the first that it not be
deleted from the second table??

Any ideas??


Deleting the records from the table is probably wrong - it might be better
to set a flag saying "this guy has left" and use this as a filter when doing
queries that only want to see current employees. Why do you think you want a
different table?

--
Tim Ward
Brett Ward Limited - www.brettward.co.uk


  #3  
Old April 28th, 2004, 05:13 PM
external usenet poster
 
Posts: n/a
Default Back up

I need a different table because I need to link the
employee information of current and past employees in
queries. We still need the origional table for other
queries.

Thank You
-----Original Message-----
wrote in message
...
I have a table that lists employee names, employee ID,
Badge numbers and other info on the employee. This

table
is used in multiple queries. When employees leave they
are deleted from the table. We ran into a small problem
that we actually need to have a seperate table that

lists
any employee that has worked in our department wether
currently employed or not. Is there a way that when one
table is updated with new information that it
automatically updates in a second table but when
information is deleted from the first that it not be
deleted from the second table??

Any ideas??


Deleting the records from the table is probably wrong -

it might be better
to set a flag saying "this guy has left" and use this as

a filter when doing
queries that only want to see current employees. Why do

you think you want a
different table?

--
Tim Ward
Brett Ward Limited - www.brettward.co.uk


.

  #4  
Old April 28th, 2004, 09:13 PM
John Vinson
external usenet poster
 
Posts: n/a
Default Back up

On Wed, 28 Apr 2004 09:13:45 -0700,
wrote:

I need a different table because I need to link the
employee information of current and past employees in
queries. We still need the origional table for other
queries.


So?

You can link to either current or past employees, and create your
other queries, if you have both sets of employees in the same table.
Just add a Yes/No field CurrentEmployee; set it to No when an employee
leaves; and use a criterion of True if your query should show only
current employees, False to show only former employees, and no
criterion at all if you want to see everyone.

John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public
  #5  
Old April 29th, 2004, 04:01 AM
Paul
external usenet poster
 
Posts: n/a
Default Back up

This is not possible in Access.

-----Original Message-----
I have a table that lists employee names, employee ID,
Badge numbers and other info on the employee. This table
is used in multiple queries. When employees leave they
are deleted from the table. We ran into a small problem
that we actually need to have a seperate table that

lists
any employee that has worked in our department wether
currently employed or not. Is there a way that when one
table is updated with new information that it
automatically updates in a second table but when
information is deleted from the first that it not be
deleted from the second table??

Any ideas??
.

 




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 02:31 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.