Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM SQL » View Thread |
Messages 1 to 2 of 2 total |
add jpeg via sql (Help) |
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. timyoung@elevatesoft.com | 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 Saturday, May 4, 2024 at 09:18 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |