Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
APPEND GENERAL corrupting RTF data?
Message
From
17/07/2006 02:33:11
 
 
To
16/07/2006 23:43:56
Alan Harris-Reid
Baseline Data Services
Devon, United Kingdom
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01136857
Message ID:
01136862
Views:
9
>I am importing a .rtf file into a general field using APPEND GENERAL myGeneralField FROM MyRTFfile.rtf, but when I view the imported data (eg. by double-clicking on the Gen field in browse mode) I can only see the first line of the RTF data. When I view the .rtf file in Word or WordPad it looks fine.
>
>If it is of any relevance, the RTF file was created by combining a number of RTF strings using the method as suggested in Scott Butts' message #850861.
>
>I have tried adding the CLASS "RTF" (or "Rich Text" or "RICHTEXT.RICHTEXTCTRL.1") clause to the APPEND GENERAL command, but it doesn't make any difference.
>
>Can anyone enlighten me as to what might be going on here?
>
>Any help would be appreciated.
>
>Alan

Not a fix to your problem as such, but a warning. Avoid general fields AT ALL COST, they have always been a PITA, and are extremely difficult to deal with in the real life! Store the docomunts as separate files. Store the file name, with or wothout the path, in the table.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform