Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Store Images
Message
From
09/09/2006 08:40:02
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
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:
01152535
Views:
20
>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.

Apart from the argument given by Tore, General fields take up LOTS of space. In one experiment I did, a 50 KB JPG file made the database grow by more than 1 MB - a factor of 20.

Please note that in VFP, there is a limit of 2 GB for each individual file.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform