Subject Re: [IBO] problems with SQL query
Author Mihai Chezan
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
> > Params['empNo'].AsString := form1.DBEdit3.Text;
> > but I get 'incompatible types: integer and string' on both the
> > params lines.

> This isn't an incompatibility coming from the databases, it's in the
> values you are reading. AsString isn't incompatible with char types.

TIB_Statement
property Params: TIB_Row;

TIB_Row
property Columns[Index:word]: TIB_Column; default;

so doing Params['string here'] doesn't work. (compile error)
try Params.ByName('name of the column') or Params.ParamByName('...')