Code: Select all
select * from course where startdate >= now order by startdate
Code: Select all
select * from course where startdate >= now order by startdate
Code: Select all
ZeosQuery.Close;
ZeosQuery.SQL.Text := 'select * from course where startdate >= now order by startdate';
ZeosQuery.Open;
Code: Select all
ZeosQuery.Close;
ZeosQuery.SQL.Text := 'select * from course where startdate >= :MyParamStartDate order by startdate';
ZeosQuery.ParamByName('MyParamStartDate').AsDateTime := Date;
ZeosQuery.Open;