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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement