P
Phil Bewig
I have a query that runs properly. The query is a
pass-through query that runs a complicated sql select
statement involving ten unions. It takes about twenty
minutes to return results. The odbc driver requires
me to login once each time I run the query.
I also have a report based on that query. The report
is simple. A break on one field causes a new page to
be started, with labels, fields from the query, and a
few calculated fields in the page header. A break on
another field causes a blank line and prints two fields
from the query. The detail line prints fields from the
query, with no calculations. There are no sub-totals
or totals in the report.
Every time I run the report the odbc driver requires
me to login three times, at twenty minute intervals;
thus, it takes one hour to run the report. At the end
of this time the report is correct, and the data
matches the query. This behavior occurs in my normal
environment of Windows 98, Access 2000, and Oracle 9;
I have the same problem on a Windows 2000 machine, and
have tested both the Microsoft and Oracle odbc drivers
with the same result.
I am certain there is some error in the definition of
the report that is causing this behavior. But I can't
think of any reason that the query would run three
times. Does anyone know what problems may cause this
symptom?
By the way, what is the comment convention for Oracle
pass-through queries? Neither /* comment */ nor
-- comment works.
Many thanks for your kind assistance.
Phil
pass-through query that runs a complicated sql select
statement involving ten unions. It takes about twenty
minutes to return results. The odbc driver requires
me to login once each time I run the query.
I also have a report based on that query. The report
is simple. A break on one field causes a new page to
be started, with labels, fields from the query, and a
few calculated fields in the page header. A break on
another field causes a blank line and prints two fields
from the query. The detail line prints fields from the
query, with no calculations. There are no sub-totals
or totals in the report.
Every time I run the report the odbc driver requires
me to login three times, at twenty minute intervals;
thus, it takes one hour to run the report. At the end
of this time the report is correct, and the data
matches the query. This behavior occurs in my normal
environment of Windows 98, Access 2000, and Oracle 9;
I have the same problem on a Windows 2000 machine, and
have tested both the Microsoft and Oracle odbc drivers
with the same result.
I am certain there is some error in the definition of
the report that is causing this behavior. But I can't
think of any reason that the query would run three
times. Does anyone know what problems may cause this
symptom?
By the way, what is the comment convention for Oracle
pass-through queries? Neither /* comment */ nor
-- comment works.
Many thanks for your kind assistance.
Phil