Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chr(13) in Memo fields being redefined in query?
Message
From
08/03/2012 08:50:22
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 7
Miscellaneous
Thread ID:
01537537
Message ID:
01537601
Views:
40
Uh no....it's not there. When I do an At(chr(13), stem). In the original memo field, the chr(13) is somewhere around 260 (iirc), in the query memo field it's somewhere around 508. In other words, the first chr(13), which should be at the end of 'out.' gets replace with about 200 spaces. Where I was seeing this WAS in Word and I went back to the query table to check it out.


>>Hello all
>>
>>I have a Memo field, which is set up with Chr(13)'s to denote paragraph breaks. After running an SQL and pulling this memo field, the Chr(13) is being replace with about 200 spaces?
>>Instead of seeing
>>
>>"The Shakers were a religious sect established in the United States in the late 1700s. They were so called because their religious rituals included shaking, shouting, dancing, whirling and singing "in tongues." They lived in communal settlements where they practiced celibacy and were known for their industry, ingenuity, and craftsmanship. By 1960, the sect had largely died out.
>>{Chr(13)}
>>According to this paragraph, _____."
>>
>>I'm seeing:
>>The Shakers were a religious sect established in the United States in the late 1700s. They were so called because their religious rituals included shaking, shouting, dancing, whirling and singing "in tongues." They lived in communal settlements where they practiced celibacy and were known for their industry, ingenuity, and craftsmanship. By 1960, the sect had largely died out.
>>{End of previous line is here, no Chr(13)}
>>According to this paragraph, _____.
>>
>>What the heck? Did it always work like this? and how do I get my chr(13)'s back?
>>
>>Thanks
>>
>>Dorris
>
>The CHR(13) is there. The question is where are you seeing the output of the memo? In other words, if you just do select statement and check it, it will be there. But if you're then using it in, say, Word, then it may be transformed into something else.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform