>>>>FormName.Timer1.Enabled = .t.
>>>>
>>>
>>IF TYPE([_screen.ActiveForm.Name]) == [C]
>> _screen.ActiveForm.Timer1.Enabled= .t.
>>ENDIF
>>
>
>Thanks, Boris it works but I have no idea what could have changed.
>I've used this code snippets for a few months and not changed anything and it ran smoothly. Why does this reference work and the old one(form1) doesn't?
Maybe you changed the Name of the form?Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.