Hi Simplicio,
please note that is more or less commonly accepted that putting pictures in a general field is a bad idea for a number of reasons. Storing the pictures in seperate files, and only having the name of the picture file in the table, is a much better and more flexible solution.
>Hi Mohammed ,
>
>Ive done this is using SQL svr. But i thnk its the same in VFP table. I store photo in Memo General Field. But if what u mean is u want to automate the scanner. Use Twain API.
>
>
>
>
>** Inserting
>lcFilePic=GETPICT("BMP")
>
>IF !EMPTY(lcFilePic)
> SELECT vstudentsforphoto
>
> APPEND GENERAL PHOTO FROM (lcFilePic) CLASS BMP
>
> requery("vstudentsforphoto")
>
> >ENDIF
> >
>javascript:MessageSubmit()
[Save this message so it will appear for other members immediately]
>***
> select vstudentsforphoto
> COPY MEMO photo TO (lcNewFilePath)