If you are referring to adding a picture file to a table, you need to have a field of type GENERAL to hold the image. You can then use something like:
APPEND BLANK && Add a blank record
APPEND GENERAL mygenfield FROM c:\images\myimage.bmp
However, I would strongly advise against doing it that way for several reasons. First, it causes excessive file bloat. The associated .dbf's memo file can grows up to twice the size of the image file for each image added.
Second, you must have the same imaging application installed on each computer which tries to read the file, or they won't be able to open the image.
And third, it is a real chore to extract/export the image files from the table again should you decide you want to modify them.
I would recommend using a character field instead, and just referencing the image files using the full path and file name in that field.
Although I agree with everything Dave said in his reply. I would add that you can't directly execute APPEND BLANK or APPEND GENERAL via ADO. You will have to use the standard SQL INSERT or UPDATE commands. Apart from that, it should work fine.
Mike
__________________________________
Mike Lewis (Edinburgh, Scotland)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.