Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left(),30 not working when uppercase-bug?
Message
De
28/03/2002 19:55:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00638607
Message ID:
00638766
Vues:
23
No part of the word is displayed at all. Yet there is remaining space for at least some of the characters but it truncates the entire word that would stretch beyond the available length if the entire word had printed. If I use the Proper() function, then it truncates correctly (at the end of the field length) and cuts off only those letters (not the entire word) that don't fit within the space.


>>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,
>When you say the entire word is cropped, do you mean no part of the word is displayed or do you mean a portion of the word is displayed but it truncates the last part?
.·*´¨)
.·`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"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform