Home End User

ReportOnGetAutoSeachValues - how using this ?

edited July 2010 in End User
Hi need more info for make a filter on my dataset report.

I have a delphi application,

from Delphi use EDB_Table and a TppDbPipeline ,
in this mode my report have access to my Table ( dbgrid )

with end user report i need add a extra filter, i have to try this code

but don't work, ReportOnGetAutoSeachValues is never called.

must i add a Report.AutoSearchFields.add??????? like ??


Procedure ReportOnGetAutoSeachValues;
begin

if Report.AutoSearchFields[0].FieldName = 'CODE_STATE' then
Report.AutoSearchFields[0].SearchExpression := '1';

end;

Comments

This discussion has been closed.