Y770
--
John Spencer
Access MVP 2002-2005, 2007
Center for Health Program Development and Management
University of Maryland Baltimore County
.
"y770" <y7...@discussions.microsoft.com> wrote in message
news:362C368F-C3ED-4319...@microsoft.com...
Try sprinkling a few DoEvents throught your relinking
procedure.
Also check
http://www.granite.ab.ca/access/splitapp/details.htm
for ideas on how to speed up the relinking process.
--
Marsh
MVP [MS Access]
I do not have a loop, as I need to relink only 5 tables. Out of those 5 only
2 or 3 takes some significant amount of time. I will try to insert DoEvents
in the middle of the relinking. Thank you very much.
But thaks for your help. At least I am onthe right direction.
y770
>I need to refresh links to external Database on the start of Access.
>This process takes time (10 - 15 secs).
Once you've relinked the first table then open a recordset against
that table. Now relink the rest of the tables and then close the
recordset. You should see it go much, much faster.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
"Tony Toews [MVP]" wrote:
For some reason it did not help. As a matter of fact I timed re-linking of
each table separately and found that big (many records) tables take longer to
re-link (obviously). However, when I looked into the table itself I've found
that 'big' tables are not that big at all. One of them are approx. 9000
records, and other is just 827 records. I don't think it should take more
then 4 sec to link 827 records. I've re-indexed that table just yesterday and
it did not help.
What else can I do?
>> >I need to refresh links to external Database on the start of Access.
>> >This process takes time (10 - 15 secs).
>>
>> Once you've relinked the first table then open a recordset against
>> that table. Now relink the rest of the tables and then close the
>> recordset. You should see it go much, much faster.
>
>For some reason it did not help. As a matter of fact I timed re-linking of
>each table separately and found that big (many records) tables take longer to
>re-link (obviously). However, when I looked into the table itself I've found
>that 'big' tables are not that big at all. One of them are approx. 9000
>records, and other is just 827 records. I don't think it should take more
>then 4 sec to link 827 records. I've re-indexed that table just yesterday and
>it did not help.
>What else can I do?
Could you post your code?
y770.