Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving picture in a database
Message
From
04/08/2002 21:37:46
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00685742
Message ID:
00686073
Views:
30
>I've faced a confusion for saving picture in a table. vfp help made it worse. my main problem is how the input interface for getting a picture should be, and how it'll be put in the table....
>
>thanks
>Hooman

Don't do it. If you need to delete or alter the picture - Too many problems.
Instead store the picture/pictures in a separate directory, and pass the path to the pictures to a routine that wil do a ADIR() and retreive the list of files. eg:

UuseName cPicture
ALAN ALAN.BMP or ALAN.JPG
JUSTIN JONES JUSTINJ.JPG

Then to display the picture just get the FULL path and pass this to the .Picture property to display the picture.

If you need more info will email you a sample.

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform