Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
General Field Question (Am I taking the wrong approach?)
Message
From
06/05/2014 09:23:41
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 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01599580
Message ID:
01599613
Views:
58
>Maybe I need to clarify what I'm trying to do with this database having a general field in it.
>Our system has a Customer Masterfile Maintenance routine. Each of the customers has
>a picture associated with his record (a bmp file), as well as several scanned document files.
>There is a command button on the customer screen that when selected displays a grid
>of these associated files. When you double click the grid selection you want it, should display
>the associated file whether it be a bmp picture, a pdf document, or an Excel Spreadsheet..
>
>If there is a better way than using a general field to link to each of these documents I would
>appreciate anyone telling me how.
>
>Thanks for all of your responses to my previous post.
>
>Brad

You can view information in general fields (if the creating program is installed), but you can't get information back out again. Also, the information in a general field may use up a LOT of space - for example, a 50 KB JPG file might use up over 1 MB of space in the memo file.

One option is to store the images, PDF files, etc. in separate files under Windows, and only store the filename in the table. This basically solves the 2 GB file limit in Visual FoxPro.
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