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  

REALTIME UPDATES



 
 
Thread Tools Display Modes
  #1  
Old May 27th, 2004, 04:17 PM
BobHT
external usenet poster
 
Posts: n/a
Default REALTIME UPDATES

I have a MAKE TABLE query that updates the information
from one database to another. Now I would like to have
this table updated automatically. I have linked the 2
tables together, but I want the copy to be read only.
What is the best way to handle my problem??
  #2  
Old June 1st, 2004, 12:09 AM
Armen Stein
external usenet poster
 
Posts: n/a
Default REALTIME UPDATES

In article ,
says...
I have a MAKE TABLE query that updates the information
from one database to another. Now I would like to have
this table updated automatically. I have linked the 2
tables together, but I want the copy to be read only.
What is the best way to handle my problem??


Hi Bob,

Why do you need a copy of the data in another table? Usually having the
same data in more than one place is a bad idea. Can you use a query to
access the original data instead? This would eliminate the need for any
automatic updating.

However, if it is really necessary, you can accomplish what you want.
First, I don't recommend MakeTable queries. Instead, design a table
with the structure you want, then use Delete and Append queries to clean
it out and reload it.

When you say you want the second table updated automatically, do you
mean periodically, or whenever the first table changes? If the former,
it can be done with Windows Scheduler and an AutoExec macro that
performs the delete and reload process.

If the latter, there's no good way in Access, as it doesn't support
database level triggers. You'll need SQL Server for something like
that.

Making the second table read-only is another problem altogether. That
may require setting up Access security. There are a lot of books and
articles that cover that topic.

Hope this helps,

--
Armen Stein
Access 2003 VBA Programmer's Reference
http://www.amazon.com/exec/obidos/AS...jstreettech-20
J Street Technology, Inc.
Armen _@_ JStreetTech _._ 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


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