Subject Re: [IBO] TDataSet problem
Author Artur Anjos
Artur Anjos wrote:

> (...)
> EmpDefScheduleQ.Close;
//
// I just noticed that you are closing it,
// so this will be better: ;-)
//
if not EmpDefScheduleQ.Prepared then EmpDefScheduleQ.Prepare;

> EmpDefScheduleQ.Params[0].AsInteger := empID;
> EmpDefScheduleQ.Params[1].AsInteger := DayNumber;
> (...)

Artur