Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hiding Decimals
Message
De
08/09/2005 21:52:12
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Divers
Thread ID:
01047952
Message ID:
01047953
Vues:
10
>Hi,
>
>I have some products that I need to control stock using decimals. Other I don't need.
>
>So, I have a report like that:
>
>Product                Quantity
>---------------   -------------
>Product A             1,000.000
>Product B               234.000
>Product C                35.300
>Product D               200.000
>
>
>I'like to print decimals just for Product C, and the other I want to hide it. Eg:
>
>Product                Quantity
>---------------   -------------
>Product A             1,000
>Product B               234
>Product C                35.300
>Product D               200
>
>
>If I use one font like Courier, I can do it using two fields in my report, doing some test like "Print When Int(Quantity)=Quantity"... but I will not use this kind of font, and I don't have a fixed width for it.
>
>Is there some way to do it?

Perhaps you can have two fields with the same coordinates, both with conditional printing.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform