>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)?
Easy - make a change to the class that your forms inherit from and put the SET CENTURY TO in that code. Of course, if you didn't create your own base class and instead went directly from the native VFP Form base class, this doesn't work right off the bat - fix it now. Create a subclass of the base class, and use that as the basis for all your forms. You can hack the SCXs to change the parent class programmatically (back up the SCXs first), and just don't repeat the mistake.