Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
APPEND GENERAL corrupting RTF data?
Message
De
17/07/2006 02:33:11
 
 
À
16/07/2006 23:43:56
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01136857
Message ID:
01136862
Vues:
10
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform