Subject Re: [IBO] Checking Parameters Value - I'm stuck
Author Geoff Worboys
> How this line looks like in C++ Builder???
> i try ibqRaport->Params[i]->AsString, ibqRaport->Params[i].AsString
> and it's all wrong

C++Builder has some trouble with the default property capabilities of
delphi.

TIB_Statement.Fields and TIB_Statement.Params actually return a
reference to TIB_Row (as you will see from the online help). However
the default property of TIB_Row is the Columns[] array property, which
Delphi uses to enable shorter code.

So in Delphi...
Query.Fields[n] is shorthand for Query.Fields.Columns[n]
and
Query.Params[n] is shorthand for Query.Params.Columns[n]

In C++Builder we must use the long version so they become...
Query->Fields->Columns[n]
and
Query->Params->Columns[n]


HTH

Geoff Worboys
Telesis Computing