rbWiki > General > What's New > RB 11 > Parameters and AutoSearch

Parameters and AutoSearch

Report Parameters and AutoSearch

RB 11 introduces a revamped Parameter and AutoSearch architecture designed to increase power and eliminate code. These enhancements enable unprecedented design-time configuration of Parameter, AutoSearch, Lookups, and Search Criteria - saving time and eliminating the need to add custom code.

Parameter.AutoSearchSettings

Use Parameter.AutoSearchSettings to enable Parameter values to be populated by ReportBuilder's autosearch user interface. AutoSearchSettings essentially enable a Parameter to dynamically create and bind to an AutoSearchField at run-time. 

Parameter.LookupSettings

Use Parameter.LookupSettings to bind a Parameter to lookup data and control the appearance of a lookup list displayed to the user. LookupSettings includes the ability to support name/value lists or simple value lists as well options to control the sort order and display type.

uses
  ppParameter,
  ppAsField;

 begin   

   myParameter.LookupSettings.DataPipeline := CustomerLookup;
   myParameter.LookupSettings.ValueField := 'CustNo';
   myParameter.LookupSettings.NameField := 'Company';

   myParameter.LookupSettings.DisplayType := dtValueAndName;
   myParameter.LookupSettings.SortOrder := soName;

end;
AutoSearch Lookups and DatePicker

Use the enhanced AutoSearch dialog to provide user friendly drop down lists and calendar date pickers to your end-users.

Bind DADE Search Criteria to Parameters

Use the DADE Query Designer to bind search criteria to Report.Parameters. This includes the ability to create multiple query's that bind to a single Parameter that displays an autosearch user interface. 

AutoSearch Description

Use the SystemVariable to display the AutoSearch Description in a report with no code.

    

Tags
none

Files (0)

 
You must login to post a comment.