 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Pedro Fehlauer Guest
|
Posted: Wed Jul 05, 2006 7:47 pm Post subject: Store JPG into SQL DB (MS Access): Any code example? |
|
|
Hi, I would like to ask for an example of how to store a JPG image into an
Access DB.
I already configured the database, I loaded JPG via the clipboard, I can
browse through the images in my programa.
I searched the net and just found a few Delphi examples, which are not fully
applicable. What I need is to:
1. Read the image from a file (easy)
2. Store that image into a blob field, VIA AN SQL statement (TQuery), not
using TTable. Something like "UPDATE table SET THUMB = :THUMB" and then
ParamByName->As??? = TImage.
Has anyone any code snippet or example?
I would appreciate it very much!
Pedro |
|
| Back to top |
|
 |
Pedro Fehlauer Guest
|
Posted: Mon Jul 17, 2006 7:46 pm Post subject: Re: Store JPG into SQL DB (MS Access): Any code example? |
|
|
Solved.
Pedro
"Pedro Fehlauer" <info@sistemas-especificos.com> escribió en el mensaje
news:44abd0f5$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi, I would like to ask for an example of how to store a JPG image into an
Access DB.
I already configured the database, I loaded JPG via the clipboard, I can
browse through the images in my programa.
I searched the net and just found a few Delphi examples, which are not
fully applicable. What I need is to:
1. Read the image from a file (easy)
2. Store that image into a blob field, VIA AN SQL statement (TQuery), not
using TTable. Something like "UPDATE table SET THUMB = :THUMB" and then
ParamByName->As??? = TImage.
Has anyone any code snippet or example?
I would appreciate it very much!
Pedro
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|