Screens Navigation using Combo Box

can anyone explain how to navigate screens using Combo box? i am using the following script (Screen Scripts) to navigate between screens :

'This procedure is executed continuously while this screen is open.
Sub Screen_WhileOpen()

If $SCREENPOS = 0 Then
$Open("FIRST SCREEN")
Else If $SCREENPOS = 1 Then
$Open("SECOND SCREEN")
End If
End If

End Sub

I have assigned a tag SCREENPOS to the combo box (in position).

The problem i am facing is when i select from the list of static lables, the script is executed continuously and after that, i am not able to select from the combo box.

any suggestions are highly requested.
Parents Reply Children
No Data