Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Numeric field for year - detect 00 or no value entered?
Message
 
 
To
11/06/2004 10:01:28
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00912459
Message ID:
00912695
Views:
9
You're welcome.

>Works like a charm. Thanks Sergey!
>
>Tracy
>
>>Tracy,
>>
>>In the Interactive Change only record the fact that "00" was entered or not.
>>
>>*Interactive Change
>>* lEntered00 - custom property of textbox
>>this.lEntered00 = (THIS.TEXT = "00")
>>
>>*Valid
>>DO CASE
>>CASE this.lEntered00
>>	this.value = ADDCENT(this.value)
>>CASE EMPTY(this.value)
>>	this.value=YEAR(DATE())
>>ENDCASE
>>...
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform