Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Case Sensitive
Message
From
02/02/2000 11:54:05
 
 
To
02/02/2000 11:11:48
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00325543
Message ID:
00326210
Views:
30
>I think at that rate we won't have any users to force 4 digit years, so I think you have a point.
>
>My overall validation:
>
>IF LEN(SUBSTR(ALLTRIM(this.Value),RAT('/',ALLTRIM(this.Value))+1)) < 4
> =MESSAGEBOX('Please input a 4 digit year',0,'Invalid Date')
> =MESSAGEBOX('Did you get the last message?',0,'Reminder')
> =MESSAGEBOX('Are you sure',0,'Another Reminder')
> =MESSAGEBOX('ARE YOU ABSOLUTELY SURE?',0,'SURE?')
> =MESSAGEBOX('I'm sorry, I don't believe you. GOODBYE',0,'Not Sure')
> CANCEL
> CLEAR EVENTS
>ENDIF
>
>*That'll teach the buggers to make us developers have to prat around!!!!!

Another option might be to use one of the Calendar ActiveX controls that will allow the user to type a date or use a calendar interface to select it. I've got a little app we use to schedule sales reps at trade shows and events, and they really like the approach, since it's easy to visualize weekend/holiday stuff for them with the MonthView control.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform