Hi Adam,
>Does anyone know how to store a JPEG file into a genearal field. Does anyone have a fix for this or a suggestion ?
If the General field doesn't pan out, an alternitive is to save the file in the memo field, you can use FileToStr() to get it in there, then StrToFile() to get it out and create a temp file, then put it back in.
Another thing you could do (if you store these just for security reasons), is to change the file extension (just an easy dupe for users) and then mess with the file at low level so they can't be read. Then when you want to open them, save the file back via lowlevel.
I don't know how well this works with JPGs (I don't know it shouldn't), but I've heard folks doing this with DBF files.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement