Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Column dynamicinputmask
Message
De
26/11/2012 12:58:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01558080
Message ID:
01558086
Vues:
51
>>Hi friends:
>>
>>A grid showing a few records.
>>
>>Most of them (in fact every less one) have an integer data. (code, name and stock are the columns) as showing 3 decimals is not very nice I thought I could use dynamicinputmask for managing this.
>>
>>Is there any not integer value? inputmask is 9999.999, else 9999
>>
>>No matter.
>>
>>Apparently as data has 3 decimals (1.000 for example) column shows decimals anyway
>>
>>Has column.dynamicinputmask property any secret I don't know?
>>
>>Thank you.
>>
>> Héctor
>
>How do you know what is integer and what is not?
>Because 1.000 and 1 are stored the same way in the table.

Hi Boris

I scan and compare int(num)=num?

And it works. I put a message, sometimes yes, sometimes not.

No problem with logic.

Thank you.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform