|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Paradox BLOB Graphic type
Hi!
How can I add a picture (TBitmap, for example) to a field whose type is Blob Graphic? thank you |
|
#2
|
||||
|
||||
|
TBlobField has LoadFromFile and LoadFromStream methods. If you already have the TBitmap loaded and ready, then you can use the Assign method:
BlobField.Assign(Bitmap);
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month |
|
#3
|
||||
|
||||
|
Thank you!
|
|
#4
|
|||
|
|||
|
help me too...
how can i insert picture to blob field (graphic field) of paradox?
And how can i get blob field (graphic field) of paradox to show (dbimages or image component)? Do you have for example? I'm beginner... Please... Thanks!!! ![]() |
|
#5
|
||||
|
||||
|
Quote:
You can insert picture of type TPicture with something like : DataSource1.DataSet.FieldByName('DreamPicture').Assign(image2.Picture); and to show it put DBImage on the form and set values for DataSource and DataField. Cute nick! *kiss* |
|
#6
|
|||
|
|||
|
Enchantress,
Hello, I have a question to ask you on the blob insertion. I was wondering if you could provide a small project that would allow me to add a graphic to a form, then insert it into a database. Just something simple, that I can dig in and see how it is done. I have tried to use your solution DataSource1.DataSet.FieldByName('DreamPicture').Assign(image2.Picture); but I havent been able to get it to work. Thank you |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Delphi Programming > Paradox BLOB Graphic type |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|