>I have CENTURY set to ON in all my forms; however, even though my users can omit the year portion of a date and let it default (now) to 2000, they are in the habit of entering a two-digit year -- and since I've neglected to add SET CENTURY TO 20, this becomes 1900 when they enter "00". I know that SET CENTURY is scoped to the current data session, but is there any way to avoid editing all my forms (all of which have private data sessions)?
If you are not using the base VFP form class, you can just put that in your form class' Load method. Otherwise you are stuck putting this in all forms. THis is the prime reason for not using the VFP base classes. Create a subclass of all the VFP classes even if you are not going to change any of the defaults. Then use these subclasses [or their subclasses, etc.] exclusively.
Mark McCasland
Midlothian, TX USA