Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to export an general field into a file
Message
From
13/01/2006 09:50:11
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows 2000 SP4
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01086515
Message ID:
01086517
Views:
19
>How to export an general field into a file.
>
>The general field, contends data of the type word, excel, powerpoint, image, etc.
>
>
>Greetings and thank you.

It is quite complicated, and that is the main reason that it is recommended NOT to use General fields. Better alternative are to keep the files as separate files on disk, and just store the filenames (this is the usual recommendation), or to store the contents in a memo-binary field. The other reasons are that the General field takes up too much space, and that you can easily go above the VFP limit of 2 GB.

There have been discussions here in the past, on getting the data out of the General fields; IIRC, this requires a separate analysis for different file types.
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
Reply
Map
View

Click here to load this message in the networking platform