Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left(),30 not working when uppercase-bug?
Message
From
29/03/2002 10:38:11
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00638607
Message ID:
00638937
Views:
29
Thanks for checking it out.
I think it is a bug also. It should be reported to VFP as it definitely creates a problem in reports...

Tracy

>I think, it's a bug of printing in VFP. Try this:
>
>?Repl('X', 10) + ' ' + Repl('X', 225)
>
>The last XXX will not be shown, but it works with Repl('X', 200) or Repl('X', 250) (You may need to change numbers for your screen font and resolution).
>
>>The below works:
>>
>>LEFT(PROPER(po_name),30)
>>
>>However, the following does not:
>>
>>LEFT(UPPER(po_name),30)
>>
>>Is this a bug? I noticed it first when I tried to print as many characters from a field as possible that would fit on a report. If the field is in upper case, then the entire word is cropped when it stretches beyond the length available on the report. However, if the field is in lowercase or proper, then it works correctly using LEFT(). Has anyone else noticed this?
>>Tracy
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform