ACC97: Report Based on Query Has More Records Than the Query
Article ID: 192031
Article Last Modified on 1/23/2007
APPLIES TO
- Microsoft Access 97 Standard Edition
This article was previously published under Q192031
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you print or preview a report that is based on a query, it may contain
more records than the query returns.
CAUSE
You may encounter this problem when the following conditions are true:
- You create a report based on a query to an ODBC data source.
-and-
- The MaxRecords property is set for that query.
Queries based on ODBC tables (such as Linked SQL Server tables) can use the
MaxRecords property to limit the number of records that are returned from
the ODBC data source. However, when you create a report based on a query
that has the MaxRecords property set, the report ignores the MaxRecords
property and returns all the rows from the data source.
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
REFERENCES
For more information about the MaxRecords property, search on "maxrecords
property," using the Microsoft Access Help Index.
Keywords: kbbug kbpending KB192031