Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Images
Message
From
09/09/2006 08:20:06
 
 
To
09/09/2006 05:28:12
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01152528
Message ID:
01152533
Views:
19
>Hi All,
>
>I want to ask if there is a way to store images in the table I write these commands but its give me error "File does not exist"
>
>gImage = GETPICT()
>IF EMPTY(gImage)
>RETURN
>ENDIF
>APPEND GENERAL images.photo FROM "gImage"
>
>thank you for your time.

Listen to a very good advice: avoid general fields AT ALL COST, they will cause you nothing but problems. Keep the images as separate files and store only the file names in the table.

I call a general field a FINO field, meaning First In Never Out, or a WROM field, meaning WRite Only Memory. It's easy to get the data into the general field, but it's almost impossible to get the data out again.
Previous
Reply
Map
View

Click here to load this message in the networking platform