|
-
May 22nd, 2019, 08:37 AM
#1
Thread Starter
New Member
VB6 MySQL BLOB
I am trying to put an image into a MySQL BLOB field.
I have tried :
mystream.LoadFromFile "C:\Temp\JClIRA.jpg"
rs!Image = mystream.Read
and I have tried AppendChunk.
All the code executes without an error, but the field remains {null}
If I debug.print rs("Image") I see a large chunk of data.
If I debug.print Len(rs("Image")) I get something like 24654
But the field *stll* ends up {null}
If I use TOAD and Load Fom File into the field, it works, and I can then read the record and save it to a file, and that works.
Why will it not update the record properly?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|