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.
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.
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;
Use the enhanced AutoSearch dialog to provide user friendly drop down lists and calendar date pickers to your end-users.