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  

Auto field design to move info to a table



 
 
Thread Tools Display Modes
  #1  
Old February 19th, 2008, 01:50 PM posted to microsoft.public.access.tablesdbdesign
NDNobbs
external usenet poster
 
Posts: 26
Default Auto field design to move info to a table

What I am attempting to do is set-up a field/query that would automatically
move a record from one table to another if a specific field has been
populated. I would want the new table to keep these records. Can this be done?
--
NDNobbs
  #2  
Old February 19th, 2008, 02:22 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 1,555
Default Auto field design to move info to a table

Yes, no, why?

Yes, it is possible to get a record in one table "copied" to a table in
another.

No, there isn't a "field" in a table that will do this for you. You will
need to create multiple queries (one to find and append the correct
record(s), one to delete it from the "old" table), and you will probably
need/want to embed this in code that confirms that the record was added to
table 2 before deleting it from table 1. (Or you could do this all in
code, using UPDATE and DELETE SQL statements.)

Why would you want to? What difference does it make to your business
process or users what table the record is in? In fact, I can imagine
situations in which having records strung out over multiple tables would
make looking up historical information quite a bother!

You've described a "how", as in how you want to accomplish something.
You've not described what business need you are trying to solve, i.e., what
that something is. What will having a record moved from table 1 to table 2
allow you/your users to do?

--
Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/


"NDNobbs" wrote in message
...
What I am attempting to do is set-up a field/query that would

automatically
move a record from one table to another if a specific field has been
populated. I would want the new table to keep these records. Can this be

done?
--
NDNobbs


 




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:06 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.