Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving and Retrieving Images from database
Message
From
28/02/2002 01:09:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Title:
Saving and Retrieving Images from database
Miscellaneous
Thread ID:
00626186
Message ID:
00626186
Views:
44
I am trying to save and image in my database. I have been able to do this, but my problem is displaying this image on the form. This is the code

lcFileName = GETPICT("JPG,JPEG",this.Caption)

IF !EMPTY(lcFileName)
thisform.imgPhoto.Picture = lcFileName
REPLACE data.photo_file WITH lcFileName
APPEND GENERAL data.photo FROM (lcFileName) CLASS image
thisform.Refresh()
ENDIF

I have not been able to display from the data.photo General Field on my form. Also have not figured how to save from the General field back to disk.

My problem is I don't want the user to be able to delete the image file and have it not show in the form.
Next
Reply
Map
View

Click here to load this message in the networking platform