Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I'm trying to display memo fields...
Message
 
To
08/08/2001 08:44:09
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00540747
Message ID:
00541506
Views:
11
Hi Daniel,

>Frank:
>
>> Why use padr(left(myMemo,254),254) when padr(myMemo,254) will do the same thing?
>
>Because it ain't obvious from the documentation that VFP truncates the string if the specified nResultSize is less than the length of the string? What you said is true but well known.

This has been changed in the VFP7 Help:
nResultSize 
Specifies the total number of characters in the expression after it is padded. 
As you can see, VFP7 Help states that iw ill always return the same amount of characters, regardless of the LEN() of the inputstring.

Regards,
Frank Camp
Previous
Reply
Map
View

Click here to load this message in the networking platform