Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Variable not storing all information for Body of Email
Message
From
11/05/2006 12:38:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01120917
Message ID:
01121025
Views:
10
>Hi Borislav
>

>'Compiled code for this line is too long'
>
>When I suspend the problem lies in this block of code:

You don't need the macro here at all. Just use lcBodyText as is.

>
>* Convert body text field to data (if it is a field)
>IF TYPE(lcBodyText)='M'
>	lcTemp=""
>*!*	FOR lnLoop=1 TO MEMLINES(&lcBodyText.)
>*!*		lcTemp=lcTemp+MLINE(&lcBodyText.,lnLoop)
>	FOR lnLoop=1 TO MEMLINES(lcBodyText)
>		lcTemp=lcTemp+MLINE(lcBodyText,lnLoop)
>		lcTemp=lcTemp+CHR(13)
>	ENDFOR
>	lcBodyText=lcTemp
>ENDIF
>
And that's it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform