Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Extract text from General field and place in binary Memo
Message
De
16/12/2003 18:05:15
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00859653
Message ID:
00859713
Vues:
23
>>I have a word document placed into a General field, but want the contents (text) copied over to a Memo field. I can manually double-click on the contents of the the General field, highlight all the text and then copy/paste into the Memo field, but I want to do it progmatically. Can this be done? Thanks!
>>
>>Regards, Renoir
>
>In add to Hilmar - if the memo field contains a word document, it seems that that it could not be moved or inserted into a memo field unless Word automation was applied to the source document and copied or saved the doc to a txt so that a paste or filetostr() service could be used.
>
>I looked at w word doc in a general field and it was totally grapical - are you able to edit the doc stored in your general fields. It seems to do what you want the source doc would be required and to stash it in a general field might require converting an object (the doc) to a string.

Hey Terry,

What I found was that I could edit the general field and then copy/paste highlighted text out into the memo field. Would just like to do that progmatically. If I use FileToStr it contains all the control characters and other not-so-pretty stuff.

Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform