
January 13th, 2004, 09:46 AM
|
|
Junior Member
|
|
Join Date: Jan 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
blob's, c++, and sdac
I realize that this is a long shot, but has anyone used the SDAC component for borland c++ builder to insert blob's into a database. I am trying to figure out how to go about this. I believe that I am able to retrieve blobs from the db, but I haven't been able to test it because I can't insert them in the db. Do I need to create a TBlobField, or can I just use a TImage and then convert it when inserting into the db. This is how I am retrieving the data.
DB->MSQuery->GetBlob("JPEGImage")->SaveToFile("c:\\temp.jpeg");
I haven't been able to find a TPutBlob or something similar. SDAC is a control from core labs that stands for SQL Data Access Component. Thanks for any help you can give,
Ben
|