Joe,
FPW2.x will always default a '2-digit year' to 19xx. You'll need to change your code to
replace InvoiceDt with {01/05/2000}
HTH
Barbara
>This problem occurs in FPW2.6:
>
>Database has a date field, called: InvoiceDt
>
>This command string:
>set century on
>replace InvoiceDt with {01/05/00} produces: 01/05/1900
>
>While this command string:
>set century on
>replace InvoiceDt with date() produces: 01/05/2000
>
>How can I get the first input {01/05/00} to produce 01/05/2000 in the date field? Why is it defaulting to 1900, even though I have Set Century On?
>
>Regards,
>
>Joe Vles