N
Nano
Hi,
In an .mdb access database I have stored some queries and reports. The
queries are pass-through queries which connect to an sql server via
ODBC. The reports are mostly forms like invoices, orderconfirmations and
so on.
Thing is, the queries do not store any "WHERE" information to narrow the
results down, but the "WHERE" information is passed from within VB .NET
which opens the Access database and calls a report to print via interop.
I think Access executes the queries, collects ALL results from SQL
server and then narrows down with the passed "WHERE" statement. As the
data in the database grows, some single prints can now take up to 20
second just to load!
Is this standard behaviour of MS Access, when executing queries via
interop? Or is there something which can be done about this?
Thank you very much in advance for any help!
Nano
In an .mdb access database I have stored some queries and reports. The
queries are pass-through queries which connect to an sql server via
ODBC. The reports are mostly forms like invoices, orderconfirmations and
so on.
Thing is, the queries do not store any "WHERE" information to narrow the
results down, but the "WHERE" information is passed from within VB .NET
which opens the Access database and calls a report to print via interop.
I think Access executes the queries, collects ALL results from SQL
server and then narrows down with the passed "WHERE" statement. As the
data in the database grows, some single prints can now take up to 20
second just to load!
Is this standard behaviour of MS Access, when executing queries via
interop? Or is there something which can be done about this?
Thank you very much in advance for any help!
Nano