Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left(),30 not working when uppercase-bug?
Message
 
To
28/03/2002 14:37:03
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00638607
Message ID:
00638849
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform