Limiting rows returned
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!
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!
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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