Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to format multi-line records correctly
Message
From
09/05/2008 02:59:04
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01315993
Message ID:
01316024
Views:
21
This message has been marked as a message which has helped to the initial question of the thread.
Hi Naomi,

just concat those strings and convert unwanted characters into blank.
c1 = [START c1 ... c1 Line 1] + CHR(13) + [c1 Line 2] + CHR(13)
c2 = [START c2 ... c2 Line 1] + CHR(13) + [c2 Line 2] + CHR(13)

c3 = STRTRAN(c1+c2,CHR(13),[ ])
Best Regards
-Tom

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.

Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform