Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Left(),30 not working when uppercase-bug?
Message
 
 
À
28/03/2002 14:37:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00638607
Message ID:
00638613
Vues:
20
My guess would be that you're using proportinal font for this field. In this case the 30 characters in Upper case are wider than in lower or proper case and don't fit into the field width.

>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
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform