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

Populate an Autosearch "inlist " from code

edited September 2002 in General
I can't seem to find a demo or any info on populating an Autosearch of type
"inlist" from code?


The values are coming from a DBComboLookup in Delphi. I would think a loop
of some sort assigning the selected values from the lookup to the listbox in
the autosearch... No luck tho. Autosearch.Values is a read-only property?


Thanks in advnace! Jon Gray

Comments

  • edited September 2002
    Found it... AutoSearchFIelds[0].SearchExpression := '1,2,3,4,5';

    Values separated by commas into the SearchExpression and they show up as
    items in the AutoSearch listbox.


This discussion has been closed.