How do I send a binary picture into a database If I already have the binary that needs to be inserted?
File.Binary = The picture I have, already in binary form.
Why do I get the error "Type mismatch" when I try:
oConn = Connectiong to DB
Strimage = File.Binary
sSQL = "INSERT INTO images (image) VALUES (" & Strimage & ")"
Set oRS = oConn.Execute(sSQL)
...?
File.Binary = The picture I have, already in binary form.
Why do I get the error "Type mismatch" when I try:
oConn = Connectiong to DB
Strimage = File.Binary
sSQL = "INSERT INTO images (image) VALUES (" & Strimage & ")"
Set oRS = oConn.Execute(sSQL)
...?
Comment