hi,
thank you,
i try as under it works(stop running), but if i change the date it works,
i need your help to stop it at this date ,if the user play via date or not.
SET CENTURY on
SET DATE BRITISH
m.aa= DATE()
IF m.aa =ctod('11/04/2007')
CLEAR events
quit
ELSE
DO FORM mymainform
READ events
endif
>>hi all,
>>
>>i need to know how i can stop(running) my project,
>>as
>>at my test.prg
>>if date=01/01...
>> hid myform,remove myform,remove program,go to desktop...etc
>>
>> or any code to stop running,via error message or without message
>> else
>>do myform
>>endif
>
>clear events
>* Any cleanup code
>quit
>
>Cetin