Although I have not dove into the logic, this could be part of your issues ...
Darrel's Code SnippetDarrel's code goes to "ELSE" if any of the above are not trueCode:IF Seconds = 0 AND Minutes = 0 AND Hours = 0 AND _ Seconds_Alarm_Set_Point = 0 AND _ Minutes_Alarm_Set_Point = 0 AND _ Hours_Alarm_Set_Point = 0 THEN ELSE 'If above code is true then don't check the code below ...
Your Code SnippetYours goes to ELSE only if Hours_Alarm_Set_Point =0 is not true, otherwise they go to ENDIF and out of the massive IF-THEN jungleCode:IF Seconds = 0 THEN IF Minutes = 0 THEN IF Hours = 0 THEN IF Seconds_Alarm_Set_Point = 0 THEN IF Minutes_Alarm_Set_Point = 0 THEN IF Hours_Alarm_Set_Point = 0 then ELSE 'If above code is true then don't check the code below ...




Bookmarks