Re: [Lazarus] Loading an image to a mysql blob

2018-11-01 Thread Terry A. Haimann via Lazarus
I had already tried that.  I clicked on edit from the dbnavigator, uploaded the image and clicked post.  That is when the program would crash. I have taken the program a different route, gotten rid of the blob and replaced it with a varchar.  The varchar now has the filename of the jpeg.  It's not

Re: [Lazarus] Loading an image to a mysql blob

2018-11-01 Thread John Landmesser via Lazarus
Am 31.10.18 um 13:05 schrieb Terry A. Haimann via Lazarus: I tried loading an image into a Medium Blob.  The image uploads and shows up on my form, but when I click post on my DbNavigator the program gives me an access violation. Here is the source code: procedure TPropertyForm.ImgButClick(Send

[Lazarus] Loading an image to a mysql blob

2018-10-31 Thread Terry A. Haimann via Lazarus
I tried loading an image into a Medium Blob.  The image uploads and shows up on my form, but when I click post on my DbNavigator the program gives me an access violation. Here is the source code: procedure TPropertyForm.ImgButClick(Sender: TObject); Var   MyImageFile, MyDir: