Discussion:
Getting object from GENERAL field
(too old to reply)
John Cosmas
2005-07-12 04:04:50 UTC
Permalink
Does anyone have code that will take the contents of a GENERAL type field
and put it onto hard disk? Here is my existing code, which may encounter
files types TIF, GIF and PDF that is stored in the field.

USE E:\GIMDATA07042005\Database\FILENOTE0008
SCAN
SCATTER MEMVAR
COPY FILENOTE0008.Document TO C:\*.*

ENDSCAN

Please help.

John
Fred Taylor
2005-07-12 04:20:17 UTC
Permalink
You can check www.abri.com. He used to have something that would take data
from Genereal fields, but I don't know what format. General fields are a
waste of time.
--
Fred
Microsoft Visual FoxPro MVP
Post by John Cosmas
Does anyone have code that will take the contents of a GENERAL type field
and put it onto hard disk? Here is my existing code, which may encounter
files types TIF, GIF and PDF that is stored in the field.
USE E:\GIMDATA07042005\Database\FILENOTE0008
SCAN
SCATTER MEMVAR
COPY FILENOTE0008.Document TO C:\*.*
ENDSCAN
Please help.
John
Lee Mitchell
2005-07-12 15:53:05 UTC
Permalink
Hi John:

If you have VFP 9.0, you can use the Report Listener to accomplish this
task per the code in this article:

http://support.microsoft.com/default.aspx?scid=KB;EN-US;894819

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003
Post by Fred Taylor
You can check www.abri.com. He used to have something that would take data
from Genereal fields, but I don't know what format. General fields are a
waste of time.
--
Post by Fred Taylor
Fred
Microsoft Visual FoxPro MVP
Does anyone have code that will take the contents of a GENERAL type field
and put it onto hard disk? Here is my existing code, which may encounter
files types TIF, GIF and PDF that is stored in the field.
USE E:\GIMDATA07042005\Database\FILENOTE0008
SCAN
SCATTER MEMVAR
COPY FILENOTE0008.Document TO C:\*.*
ENDSCAN
Please help.
John
Loading...