Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation, revisited
Message
From
21/08/2012 11:24:43
 
 
To
18/08/2012 06:20:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01550642
Message ID:
01550905
Views:
80
>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform