Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation, revisited
Message
De
21/08/2012 11:24:43
 
 
À
18/08/2012 06:20:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Divers
Thread ID:
01550642
Message ID:
01550905
Vues:
79
>>>>Hello Word Gurus(?)
>>>>
>>>>got a memo field that contains, as an example,
>>>>
>>>>Man1:  How are you today?chr(13)
>>>>Man2:  I am _____.chr(13)
>>>>
>>>>
>>>>When it prints via Word with a question number it shows as:
>>>>
>>>>
>>>>14.  Man1:  How are you today?chr(13)
>>>>
>>>>Man2:  I am _____.chr(13)
>>>>
>>>>
>>>>when what I need is:
>>>>
>>>>
>>>>14.  Man1:  How are you today?chr(13)
>>>>    Man2:  I am _____.chr(13)
>>>>
>>>>(except the Man1 and Man2 need to line up)
>>>>These are being treated as strings with both VFP and Word, tried fields within Word - it got very ugly, very quickly.
>>>>
>>>>Is there any setting I should be looking at that might could fix this? If not, any ideas on manipulation of the memo field beforehand that will keep the line 'breaks' but Word can handle correctly?
>>>
>>>You might experiment with hanging indents and with the non-paragraph break newline character (ctrl+enter in Word).
>>>
>>>Tamar
>>
>>Unfortunately, Word treats Ctrl+Enter (chr(10)) the same way it treats a CR (chr(13)) and it's ALL a new paragraph, so anything you set for a paragraph will be applied to it - but not inconjunction with the rest of it.
>
>Oops. Try Shift-Enter, not Ctrl-Enter.
>
>Tamar

I'll give that a try, when the other network comes back up
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform