Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP60- Century - Date
Message
From
09/08/1999 09:14:37
 
 
To
09/08/1999 08:53:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00251401
Message ID:
00251420
Views:
7
Well, you can use a character memory variable and check in the valid if it's a date and whether the century was added.

Personally, I think anytime we use the words "force [some] users" we should rethink the interface. Specifically, can't your application make a sensible guess as to the century and either default it (read about the ROLLOVER clause in SET CENTURY). Allow the user some benefit of doubt as to their intelligence < bg>. If there are some "business rule" type validations, you can check "sensibility" of the entry whenever you do your form validations.


>I want to force some users to enter the century in a textbox that accept date values. SET CENTURY ON doesn't force anybody to do this. Is there a way of doing this? Any suggestions, comments or thoughts will be welcome, thank you in advance.
Previous
Reply
Map
View

Click here to load this message in the networking platform