Selasa, 23 Agustus 2016

Re: [MS_AccessPros] Look up tables


I agree, Duane, but if the current code runs slowly, then he may be better off loading the data once to local tables when the app opens.  I suspect the load process can be improved, but it may still not be enough to get good performance from the remote tables.

John Viescas, author
Effective SQL
SQL Queries for Mere Mortals
Microsoft Office Access 2010 Inside Out
Microsoft Office Access 2007 Inside Out
Building Access Applications

On Aug 23, 2016, at 07:56, Duane Hookom [MS_Access_Professionals] <> wrote:

I would use SQL statements or saved queries for the row sources. If PeopleSoft is a database server, I would use pass-through queries for greater efficiency. 


On Tue, Aug 23, 2016 at 4:49 PM +0200, " [MS_Access_Professionals]" <> wrote:

Follow up question,

My boss has retired and I have inherited one of the databases they worked on. It is really slow when the database opens because of a macro that runs 15 queries on load of the opening form. most of them are queries that create lookup tables from various downloaded tables from PeopleSoft every morning. These are not like the local lookup tables I described before but created every time the form opens. It is a silly situation. These tables that are created are for drop downs on the forms in the database.

So I am thinking that I could get rid of these queries by using select statements on the row source instead of creating tables every time the form is open. Not very efficient I think.

What is the groups thoughts on using select statements for the row source which are essentially the same thing as the make table queries run in the macro.

Thank you for your advice

Jim Wagner


Posted by: John Viescas <>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (13)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.



Tidak ada komentar:

Posting Komentar