RB11: parameters not working after updating from Delphi 2007 to 2009
Report Builder 11.05, Delphi 2009
Hello,
in my application, I load templates from a database and then setting the
parameters:
with AReport do
For I:=0 to Parameters.Count - 1 do
Parameters.ItemsByIndex[I].AsInteger:=AParameterArray[I];
With Delphi 2007, this works well.
But after updating to Delphi 2009, the parameters in the report are still
those,
which are saved with the template.
It only works, when I set AutoSearchSettings.Enabled:=true,
but then the AutoSearchDialog pops up.
Any ideas?
Lars Hirthe
Hello,
in my application, I load templates from a database and then setting the
parameters:
with AReport do
For I:=0 to Parameters.Count - 1 do
Parameters.ItemsByIndex[I].AsInteger:=AParameterArray[I];
With Delphi 2007, this works well.
But after updating to Delphi 2009, the parameters in the report are still
those,
which are saved with the template.
It only works, when I set AutoSearchSettings.Enabled:=true,
but then the AutoSearchDialog pops up.
Any ideas?
Lars Hirthe
This discussion has been closed.
Comments
There is now a patch available for RB 11.05 that resolves the issue.
Registered users of RB 11.05 can email support@digital-metaphors.com to
request the patch.
This is related to a change made for RB 11.05. The behavior is not isolated
or related to Delphi 2009.
--
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com