Originally Posted by
Hekla
Thanks - that worked, I ran an INSERT query first to create the record and retrived the LAstInsrtID
The opened the record and both methods *apparently* work and the record does contain data.
*but* -
The next code to test it by opening the record and writing it to a file also works but the resulting file is corrupt.
Looking at the record in TOAD it also will not show the image.
rs.Open "SELECT * FROM tblDRSImages WHERE ID = " & lRID, cnCP
mystream.Open
mystream.Write rs.Fields("Image")
mystream.SaveToFile "C:\Temp\JClIRA_TEST.jpg", adSaveCreateOverWrite
rs.Close
mystream.Close