Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scanner
Message
From
27/12/2004 02:59:52
 
 
To
26/12/2004 20:44:23
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Environment versions
Visual FoxPro:
VFP 7
Miscellaneous
Thread ID:
00970541
Message ID:
00972265
Views:
22
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform