Subject | Using parambyname('param').asstring stop the sequence. |
---|---|
Author | davissammybr |
Post date | 2002-09-07T18:42:57Z |
Hi,
I'm using the folowing code:
Var Qry_prev:TIBoQuery;
Begin
Qry_Prev := TIBOQuery.Create(Self);
Qry_Prev.DatabaseName := Connection.Database;
with Qry_Prev do
begin
Sql.Clear;
SQL.add('Select * from mytable where C_login=:login');
ParamByName('Login').asstring := '7';
open;
end;
end;
I'm debuging the code but the delphi stop in "parambyname" code
line, and don't show any message error. Where is my error?
Thanks.
I'm using the folowing code:
Var Qry_prev:TIBoQuery;
Begin
Qry_Prev := TIBOQuery.Create(Self);
Qry_Prev.DatabaseName := Connection.Database;
with Qry_Prev do
begin
Sql.Clear;
SQL.add('Select * from mytable where C_login=:login');
ParamByName('Login').asstring := '7';
open;
end;
end;
I'm debuging the code but the delphi stop in "parambyname" code
line, and don't show any message error. Where is my error?
Thanks.