>>
>>Are you really sure about the number 9051840 as a representation of {^2005-03-18}?
>
>Well it all displays ok when i run your code.
>
>Yes, i am sure about the representation for that date with the number 9051840 ( the string to be exact ).
Can you give a few other paired examples of this discrepancy between SQL dates and their VFP values?
----------------------------------
António Tavares Lopes