[DUG] Inserting a picture

Marshland Engineering marshland at marshland.co.nz
Mon Jan 24 10:39:24 NZDT 2011


I'm trying to insert a picture into a BLOB field, I found this on the web but I get an error Undefined TBlobField. 

   if OpenPictureDialog1.Execute then begin
       TBlobField(dm.tblmed.FieldByName('Pics')).LoadFromFile(OpenPictureDialog1.FileName);
   end;

Not sure what to do ?

If anyone has read the The Winner Bible, I'm making a package that should help with your quest to go forward. 
There is 4 sections in the program, Appointments, To Do, Projects and Meditation. I can now use this to help organise my way forward. Where I'm going and what I need to do in one place. 

'Formula 1 Neuroscientist Dr Spackman explains, with fascinating examples taken from real life, the tools he developed to transform the performance of world class athletes and corporate executives.'

I'm putting a group together in ChCh that will meet once a week to go through a chapter at a time from The Winners Bible over breakfast. Anyone interested, let me know.   

Cheers Wallace
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20110124/54610964/attachment.html 


More information about the Delphi mailing list