>>>Try this:
>>>
>>> SET DATE TO AMERICAN
>>> dVal = {01/01/1998}
>>>
>>I cut&paste this and it worked just fine
>>
>>Arnon
>
> I've got VFP 5.0 with the VS97 Service pack installed and this fails on mine.
>
>Thanks for the quick response.
>
>Fred
Check your tools\options. I think it's set to use system defaults which leads weird results with date operations.
Cetin