General information
Title:
SET CENTURY PROBLEM
I have a small VFP6 app that I would like to completely ignore the century in dates (not visible nor will they enter it). No one using it will ever confuse 2000 with 1900.
I have done the following in the app's main calling program.
SET CENTURY ON
SET CENTURY TO VAL(SUBSTR(DTOC(DATE()),7,2)) ROLLOVER 80
SET CENTURY OFF
I've tried the following in the date fields of my forms.
Century = 0 - Off
DateFormat = 13 - Short
StrictDateEntry = 0 - Loose
Format = 'D'
InputMask = '99/99/99'
MaxLength = 8
And the date still appears with the century showing when the field is edited (ex 01/01/2000)
What do I need to do to get rid of the Century completely, or is this not possible ?
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only