Solved

Relinking Access to SQL tables produces slow loading forms.....

Posted on 2003-10-28
6
625 Views
Last Modified: 2012-05-04
I am baffled by this one;

I am currently working on a database.  This database has an access 2000 front end and it is LINKED to tables is SQL Server 2000.  Everytime I make any changes to the tables I have to relink them.  This is not a big deal though, as it just takes a second or two.  I have been having problems with Form Loading Speeds.  After working on this for several days something has come to my attention.  Say I have Form1;  when I relink the tables in my database and then open Form1, it takes it 7 seconds to load.  I can leave access, reboot my machine whatever I do everytime I load it, it takes 7 seconds.  Until I go into Form1 in design view and click save.  Thats it ... I don't need to make any changes.. I just go into design view and click on the save icon.  After doing this I load Form1 and it only takes 1 second to load.  I can leave access, reboot the machine... whatever and it only takes 1 second.  As soon as I relink the SQL tables it will resort back to the 7 second load until I save again.  Does anyone have any idea why .... or what I am doing wrong or if there is a workaround?
0
Comment
Question by:kpkirishy
6 Comments
 
LVL 18

Expert Comment

by:BigSchmuh
ID: 9640345
Every forms may have an attached RecordSet which definition is stored in the form.
Relinking a table may have an impact on this RecordSet particularly if this RecordSet is using the SELECT * syntax.
==> If you are using selected columns only (not every columns), it means you will have to refresh your forms after refreshing your table links...

Hope this helps.
0
 
LVL 1

Expert Comment

by:blschrock23
ID: 9680122
hmmm....also very interesting
0
 
LVL 18

Expert Comment

by:BigSchmuh
ID: 9680328
Sorry about that but if I don't get the points, I would at least like to see some answer in this topic...

If this is a point attribution error, you may post a "0" point question in the "Community Support" area with subject "Wrong beneficiary, please correct" stating that your question http://www.experts-exchange.com/Databases/Q_20780536.html must be reviewed.

If not, can you post a small explanation to make this good knowledgebase grows with a new high value answer ?

Best regards.
0
 
LVL 1

Author Comment

by:kpkirishy
ID: 9689439
We are not the same person.  We work together.  Blschrock23 posted this question first and then no one answered so I reposted it with more points.  Not one person had anything helpful to say so we just exhcanged each others points so that we could ask another problem we were having.  We never found a solution to this one.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 9707158
PAQed - no points refunded (of 450)

Computer101
E-E Admin
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Introduction: Often, when running a query with joins, the results show up "duplicates", and often, those duplicates can be "eliminated" in the results using DISTINCT, for example. Using DISTINCT is simple: just add it after the SELECT keyword, an…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now