ABOUT BLOBFIELD & PARAMTERS
Posted: Sat 08 Jul 2006 12:09
if not OpenPictureDialog1.Execute then exit;
MyQuery1.SQL.Text :=
'insert into `job_table` (pic_image) values (:pic_image)';
MyQuery1.ParamByName('pic_image').LoadFromFile(OpenPictureDialog1.FileName, ftblob);
MyQuery1.Execute;
this does not work with mydac4.3 in delphi 10. what's wrong?
(it worked well with mydac 3.10 in delphi7)
MyQuery1.SQL.Text :=
'insert into `job_table` (pic_image) values (:pic_image)';
MyQuery1.ParamByName('pic_image').LoadFromFile(OpenPictureDialog1.FileName, ftblob);
MyQuery1.Execute;
this does not work with mydac4.3 in delphi 10. what's wrong?
(it worked well with mydac 3.10 in delphi7)