Subject | Re: [IBO] change the TIB_Query.FieldsIndex at runtime |
---|---|
Author | Markus Ostenried |
Post date | 2006-12-07T12:10:02Z |
On 12/7/06, bwpvil <bwpvil@...> wrote:
DataSet.BeginLayout;
try
DataSet.FieldsDisplayWidth.CommaText := sDisplayWidth;
DataSet.FieldsIndex.CommaText := sIndex;
finally
DataSet.EndLayout;
end;
HTH,
Markus
> Hi.Try something like this:
>
> I try to change TIB_Query.FieldsIndex at runtime without any luck
>
> I've tried the following methods
> TIB_Query.FieldsIndex.add()
> TIB_Query.FieldsIndex.Commatext:=
> TIB_Query.FieldsIndex.move(x,y).
>
>
> Is there another method that I must call?
DataSet.BeginLayout;
try
DataSet.FieldsDisplayWidth.CommaText := sDisplayWidth;
DataSet.FieldsIndex.CommaText := sIndex;
finally
DataSet.EndLayout;
end;
HTH,
Markus