hi

hi,
i have a error
i.e., : dataset not in insert or edit mode
when iam try to store the pdf,html,xls,doc files .in database iam getting this error....
iam using following code..
var
blob : tblobstream;
begin
blob := TBlobStream(DmPayroll.Qry.CreateBlobStream(DmPayroll.Qry.FieldByName('imgpath'),bmWrite));
end;

how to solve this error ,,,anybody knows ..
tell me.,,,,,,,
thanks in advance..

Comments