>Could you please tell me how i can use the date format for the if condition.
>
>Could you please correct it.
>
>msg = date()
>
>if msg = {04/16/2003} then
> =messagebox("License expired")
> return .t.
>endif
>
>Thank you very much.
How about
IF Msg = date(2003, 4, 16)
This is not dependent on SET("DATE") or STRICTDATE settings.
Mark McCasland
Midlothian, TX USA