Hey Ken,
Good to see you here, too :)
I agree with you in that storing the images in a file is not the best way to go, but the folks I'm subbing this contract for want it that way...and he who pays the bills wins <g>!
>Ken,
>
>Nice to see you here!
>
>FWIW, I used to store images in tables and gave it up as difficult and ultimately not worthwhile. If you must, you do it like so:
>CREATE TABLE MyTest (cPicName C(10),gPicture G(4))
>APPEND BLANK
>REPLACE cPicName with "Test"
>APPEND GENERAL gPicture From "C:\MyPath\Test.BMP"
>
>To empty out the picture, use:
>BLANK FIELDS gPicture
>
>However, I still think it's a bad idea, merely MHO. I store paths to pictures and access them at run-time. I've found it infinitely easier.