Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format mask to hide decimals
Message
De
19/04/2010 15:05:11
 
 
À
19/04/2010 14:26:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01460944
Message ID:
01460962
Vues:
31
Tore,

Sorry I had a syntax error - it should be as below but still does not work:
=IIF( COL_01%1= 0, '999,999','999,999.99'  )
>No, but you can probably the column's DynamicInputMask property, something like
>thisform.Grid1.Column3.DynamicInputMask = "IIF(yourfield%1#0),'999,999','999,999.99"
>
>>Hi All,
>>
>>Is there a format mask I can use in a grid that will hide the decimal portion of numerics if they are all zero?
>>
>>Thanks
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform