G Guest Mar 2, 2006 #1 during a specific time period? I need several buttons that open other access reports/databases to be disabled or their "Visible" property set to false.
during a specific time period? I need several buttons that open other access reports/databases to be disabled or their "Visible" property set to false.
J Jayyde Mar 2, 2006 #2 Set the TimerInterval for the form to an interval that works for you (e.g. hourly = 3600000) then use the OnTimer event to run code something like: if (vba.time > [start time] and vba.time < [end time]) then [btnNames].enabled = true else [blnNames].enabled = false hth -Jayyde
Set the TimerInterval for the form to an interval that works for you (e.g. hourly = 3600000) then use the OnTimer event to run code something like: if (vba.time > [start time] and vba.time < [end time]) then [btnNames].enabled = true else [blnNames].enabled = false hth -Jayyde