Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable not storing all information for Body of Email
Message
De
11/05/2006 12:59:03
 
 
À
11/05/2006 12:38:49
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01120917
Message ID:
01121030
Vues:
13
>>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.

Maybe this code is designed to pass Memo field as parameter, not value of Memo field but its name as 'MemoField'.
If Memo is passed as Value then TYPE(lcBodyText) must raise an error.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform