![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Wed, Jul 26 2006 11:02 PM | Permanent Link |
Aaron Taylor | does anyone know how to add a jpeg via sql
i tried something like with MyDBISAMQuery do begin SQL.Clear; SQL.Add('UPDATE table Set imagefield=:MyJPEGField'); SQL.Add('WHERE Recordno=:num') ParamByName('num').asinteger:=5 ParamByName('MyJPEGField').LoadFromFile('myimage.jpg'); ExecSQL; end; but got a 'not enough parameters' Error. |
Thu, Jul 27 2006 10:35 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Aaron,
<< but got a 'not enough parameters' Error. >> It's probably this: ParamByName('MyJPEGField').LoadFromFile('myimage.jpg',ftBlob); <<< Add the ftBlob parameter to the call -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Wednesday, July 2, 2025 at 06:46 PM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |