Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit the user to specific numbers
Message
From
11/02/2009 17:09:42
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01381060
Message ID:
01381063
Views:
56
>>I have a requirement for user to enter the hour they worked on the project and they can only enter 0 or 5 as a decimal
>>to indicate an hour or half an hour.
>>
>>is there a way to limit the user input to 0 or 5 in the decimal field.
>>
>>Thanks
>
>Pu this in Valid Mthod:
>
>RETURN INLIST(this.Value%1, 0, 0.5)
>
Thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform