Apr 4, 2005 #1 Ginka Programmer Mar 18, 2005 54 MX How can I save an Image in a Database without using the DBImage Component?? I mean this: Code: MyTable_ImageField = Image->Picture... etc. MyTable->Post(); ImageField is a BLOB type field
How can I save an Image in a Database without using the DBImage Component?? I mean this: Code: MyTable_ImageField = Image->Picture... etc. MyTable->Post(); ImageField is a BLOB type field
Apr 4, 2005 #2 MrIBM Programmer Mar 17, 2005 1 US I haven't tried this, but have a look at: the bitmap ImageField = Bitmap or ImageField->Assign(Bitmap) Once again, this is off the top of my head, I'm not sure it's going to work! Upvote 0 Downvote
I haven't tried this, but have a look at: the bitmap ImageField = Bitmap or ImageField->Assign(Bitmap) Once again, this is off the top of my head, I'm not sure it's going to work!
Apr 5, 2005 Thread starter #3 Ginka Programmer Mar 18, 2005 54 MX yeah!! it works!! Thank you!! But now I have another question, How can I assign the value to my Image? Like this Image->Picture->Bitmap = ImageField->Value; I tried using this: Image->Picture->Bitmap = ImageField->AsBCD; I guess I need to cast but how? Upvote 0 Downvote
yeah!! it works!! Thank you!! But now I have another question, How can I assign the value to my Image? Like this Image->Picture->Bitmap = ImageField->Value; I tried using this: Image->Picture->Bitmap = ImageField->AsBCD; I guess I need to cast but how?