>Well, the code was fixed ~2,5 hours ago, so now we're talking just theoretically :)
>
If it works and you're happy, no reason at all! Just pointing out that if the code EVER made it to running under VFP, it would need to be dealt with again, that's all. If not, don't worry about it.
>Anyway, why do I need to use dtos() at all, if I alredy put:
>
between(CTOD(date),Date1,date2), where DATE is a character field in a table
>(yes, FoxPro reserved word and also a char field - sounds stupid)
>Date1, Date2 - actual dates, inputted by user.
Potential VFP again, that's all. Try running your code above in VFP with <pre>SET STRICTDATE TO 2