Hi Bruce,
In VFP 5.0, I find that you have to explicitly set the default century. I use this in my startup code:
SET CENT TO VAL(LEFT(ALLT(STR(YEAR(DATE()))), 2))
HTH!
Mark
>>I'm trying to do my vfp5 Y2K testing & documentation. However, when I set the system clock to 2000, and enter a 2-digit year into a date field, it still assigns century 19. This is with no ROLLOVER set, and a fresh vfp session. I tried rebooting the machine, but it always changes the date back to the current one, so whether that affects it, I can't tell...although I tried saving a file, and it had Y2K assigned correctly.
>>
>>Why doesn't the date pick up the current century when in Y2K, am I missing a setting or something?
>
>Note: I see that vfp6 does assign the correct century 20 -- I'm guessing this is a Y2K bug in vfp5?
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.