Re:Try this
I am not sure how elaborate system you are trying to build, but for an
active database table this is one procedure that works.
TStream *stream;
Table1->Append();
Table1->FieldByName("ImageName")->Value = Edit1->Text;
stream = Table1->CreateBlobStream(Table1->FieldByName("Image"),bmWrite);
try
{
Image1->Picture->Graphic->SaveToStream(stream);
}
__finally
{
delete stream;
}
Table1->Post();
I don't have any real experience for working with database images, but
hopefully this will get you started.
Toppler