Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date Textbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Date Textbox
Miscellaneous
Thread ID:
00061903
Message ID:
00061903
Views:
71
I have a textbox control for entering dates. There is code that I need to fire when the date changes, whether it be by hitting "-", "+" or even typing in a new date. It makes the most sense to me to put this code in the interactivechange event, however, I only want this code to fire when a complete date has been entered or a date has been blanked out, not everytime I press a key. I tried putting code that checks to see if the value is a valid date which seems to work alright, but then I also want this code to fire if I blank out the date. So I need an If statement that only fires if between(this.value,01/01/1901,01/01/2049) or empty(this.value). But, if I have a blank Date textbox and I press any number I still think empty(this.value) evaluates to .t.

Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform