Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Column dynamicinputmask
Message
From
26/11/2012 12:58:53
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01558080
Message ID:
01558086
Views:
53
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform