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:
00638849
Vues:
21
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform