Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PDF in General Field
Message
From
09/04/2004 20:31:14
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
09/04/2004 19:02:45
John Tomblin
Service Station Systems, Inc.
San Jose, California, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00893758
Message ID:
00893763
Views:
12
>I'm just learning to use general fields. I am storing PDF files. There are two things that I haven't figured out and can't find anything the the help system:
>1) How does one display or print a stored PDF programmacitacally?
>2) How can I copy the stored PDF to a PDF file on disk?
>
>Any ideas?

Your point (2) is one of the major problems with general fields. The other is that general fields take up quite a bit additional space, compared to the original file.

I suggest you go for one of the following alternatives:

1) Keep the PDF in a separate file. Keep only the filename, in a short character or memo field.

2) If you insist in incorporating the file itself into the database, use a memo binary, instead of a general field.

HTH,

Hilmar.
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