Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display Numeric Field Centered without Decimal
Message
De
05/10/2005 05:33:09
 
 
À
04/10/2005 15:21:17
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01056019
Message ID:
01056166
Vues:
34
>I am sure this is an easy fix too....
>
>I have a column in a report that displays a numeric field. The field technically can hold numbers from 0.0 to ? and also can be negative. I want to display the number, without the decimal point, with the negative symbol if necessary, centered in the field. That is:
>
>3.0 should display as 3 (centered)
>-2.0 should display as -2 (centered)
>
>I am sure it is some combination of formating controls but I can't get it to work properly.
>
>Any help would be greatly appreciated.

You could always try putting the INT() function around your report field expression, form its properties dialog (double-click the field)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform