SearchOperator Parameters.
Hi
I have checked through the RAP help in ReportBuilder searching on
SearchOperator to set my search criteria and I found the following
parameters for it :-
soEqual
soNotEqual
soLessThan
soLessThanOrEqualTo
soGreaterThan
soGreaterThanOrEqualTo
soLike
soNotLike
soBetween
soNotBetween
soInList
soNotInList
soBlank
soNotBlank
I could not find a parameter that was equivalent to soAll (show all
records). Is there one so that in my report I can set this value to this
parameter?
Allan Ryan
I have checked through the RAP help in ReportBuilder searching on
SearchOperator to set my search criteria and I found the following
parameters for it :-
soEqual
soNotEqual
soLessThan
soLessThanOrEqualTo
soGreaterThan
soGreaterThanOrEqualTo
soLike
soNotLike
soBetween
soNotBetween
soInList
soNotInList
soBlank
soNotBlank
I could not find a parameter that was equivalent to soAll (show all
records). Is there one so that in my report I can set this value to this
parameter?
Allan Ryan
This discussion has been closed.
Comments
field that allows you to show all values. If you aren't showing the
autosearch dialog, but want to show all values, then you simply have to
leave the criteria blank. For example, try modifying the end user autosearch
example in the autosearch demos directory to be coded such that when you
click the 'A' speedbutton:
procedure TForm1.ppReport1GetAutoSearchValues(Sender: TObject);
begin
if (ppReport1.AutoSearchFieldCount = 0) then Exit;
if (ppReport1.AutoSearchFields[0].FieldName = 'Company') then
begin
if FRolodexLetter = 'A' then
ppReport1.AutoSearchFields[0].SearchExpression := ''
else
ppReport1.AutoSearchFields[0].SearchExpression := FRolodexLetter;
end;
end;
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
records so that I could force the report do do so.
enumeration in that type.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com