devxlogo

How do I limit the rows retrieved for a Power Objects report?

How do I limit the rows retrieved for a Power Objects report?

Question:
How do I limit the rows retrieved for a Power Objects report?

Answer:
The QueryCondition() method is not called when a report is executed,so you can only set a selection condition for a report by setting theDefaultCondition property for the report. The DefaultConditionproperty is used as soon as the data is retrieved, so you must setthe property before you open the report with either the OpenReport()or OpenPreview() methods.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist