in case u forgot to give the correct path of the *.jpg, ex: ...set 
picture = c:\pic_data\ch1.jpg
or
picture = "c:\pic_data\ch1.jpg"
or
create some var.
ex:
Procedure.TForm1ButtonClick(sender);
var pic:string;
begin
 pic:='c:\pic_data\ch1.jpg'; 
 ADOTableCH.first;
 while not(ADOTableCH.eof) do
 begin
  if ADOTableCH['ID_CH']='CH01' then
  begin
   ADOTableCH.Edit;
   ADOTableCH['picture']:=pic;
   ADOTableCH.Post;
  end;
 ADOTableCH.next;
 end;
end;

or

var pic:string;
begin
pic:='c:\pic_data\ch1.jpg';
...sql.add('Update CH set picture ='+''''+pic+''''+' where 
id_ch=ch001);
...ExecSql;
end; 
that's all i've got sorry.....:-}
to clearly understand what the problem u've,make sure that u 
understand the sql engine that u make,is it Mysql or MSSql, or 
perhaps Acces..read the manual..
sorry if it doesn't make u clearly understand.. 

in my memmory : _CaRpEdIeM_ , =13h4Xor=.







-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to