Wrox Programmer Forums
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2004, 05:45 PM
Authorized User
 
Join Date: Jan 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default Updating external links

Me again...

I have another question. I am pulling some data from an Oracle database. I linked the tables to Access Manually which worked great. My question is how do I update these links so my Access tables have all of the most up-to-date data? I only need them to be updated once a day. Should I just refresh them manually or can I run a script or macro to do this?

I also want to know how to run scripts housed in Oracle from Access.

Any thoughts?

Thanks, Justine
 
Old January 14th, 2004, 04:42 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Only refresh the links if they need to be refreshed. If a table or view changes, do a refresh of the links, otherwise, do not refresh.



Sal
 
Old January 14th, 2004, 04:55 PM
Authorized User
 
Join Date: Jan 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the response. I definitely need to refresh the link every day. The data changes and I need to alert users of specific changes. Is there a way I can refresh in a Macro or with vba rather than doing it manually using the Linked Table Manager?
 
Old January 14th, 2004, 05:24 PM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If the only thing changing is the data, you do not need to refresh the link. A linked table shows all changes as you make them. If, for instance, you add a field to a view, then you would need to refresh the link for only that view.





Sal





Similar Threads
Thread Thread Starter Forum Replies Last Post
External Multimedia Links bcogney XML 1 February 26th, 2007 10:28 PM
List of Links chrome47 BOOK: Professional CSS: Cascading Style Sheets for Web Design 2 December 12th, 2005 10:37 PM
opening external links in a new window. madhukp Javascript How-To 4 February 23rd, 2005 02:27 AM
Removing external links in Excel tcarnahan Excel VBA 9 February 22nd, 2004 07:21 AM
Broken Links kilika Forum and Wrox.com Feedback 1 September 15th, 2003 10:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.