>I display a form on top of my main form when a timer on the main form fires. How can I stop the timer from firing when that second form is on top?
How do you call child form?
You could do:
1. Add new property in the main form named ChildForm and Check ASSIGN method in New Property dialog.
2. When you need to call the Child form do:
DO FORM .... NAME thisform.ChildForm LINKED
3. In ChildForm_Assign event:
LPARAMETERS leNewVal
thisform.Timer.Enabled = ISNULL(leNewVal)
(not tested)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.