....more Info, maybe a solution:
1) I turned off screenupdating and I have calculation set to manual with not
positive effect.
2) when I import the tables into Access my queries are extremely fast
(compared to the linked tables)
Copyfromrecordset is slow when I use linked tables and fast if I use "real"
tables? Why does copyfromrecordset depend on where I get my data from??
3) So, there appears to be something wrong with the connection, I used this
one:
rs.Open sqlstring.Value, cn, adOpenStatic, adLockOptimistic
and replaced it with this one:
rs.Open sqlstring.Value, cn, adOpenStatic, adLockReadonly
I would also use adOpenForwardOnly, however, then rs.recordscount does not
work anymore and I do not know how many records I received. Maybe there's no
impact on performance.
Now I am within 2 or 3 seconds for my 1000 records
Strange, isn't it?
arno