Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Limiting rows returned

edited February 2003 in End User
In the Query Wizard of the end user reporting tool there is a page where
you can choose to return all rows, or by clicking a radio button limit
the number of rows returned based on some criteria. The default
behavior when this page is displayed is to return all rows and you have
to click the button. Is there a way to change that so that when the
page displays the Define Search Criteria button is already selected and
the criteria box is displaying? Even better, if the default can be
changed, is it possible to further programmatically insert a criteria
that the user will always need?

Thanks!

Comments

  • edited February 2003
    You could unregister our query wizard and register a replacement wizard.
    Look in your installed directory at RBuilder\Source\daQueryWizard.pas. Here
    is an example of replacing the query tools to get you started. Look in the
    TdaWizardSearchPage class, this is where you want to make your
    modifications.

    http://www.digital-metaphors.com/tips/ReplaceQueryTools.zip


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited February 2003
    Jim,

    Thanks for that. Rewriting a big hunk of the wizard is rather more work than I
    had in mind just to change which radio button is "pushed" and what controls are
    displaying when the page displays. Guess I'll hold off until one of those
    ever-elusive long weekends rolls around.

    rob

This discussion has been closed.