TADOQuery parameter error
- From: "Alan T" <alanpltseNOSPAM@xxxxxxxxxxxx>
- Date: Thu, 11 Jan 2007 15:49:49 +1100
Delphi 7, TADOQuery and MS Access 2000.
I got inconsistent runtime error of parameter not found on some TADOQuery
components. Some work fine but some not.
eg.
SQL in the TADOQuery
select * from employee where ID = :ID
Delphi code:
qryEmployee.Close;
qryEmployee.Parameters.ParamByName('ID').AsInteger := 10;
qryEmployee.Open;
I got the compilation error above.
I need to do the following:
.
- Follow-Ups:
- Re: TADOQuery parameter error
- From: Alan T
- Re: TADOQuery parameter error
- Prev by Date: Re: DELPHI 2006 * ADO * EXCEL
- Next by Date: Re: TADOQuery parameter error
- Previous by thread: ADOQuery and DataSource
- Next by thread: Re: TADOQuery parameter error
- Index(es):
Relevant Pages
|