Execute button

I use execute button for one of my forms and I use
when  button pressed trigger
If:system.Mode = 'Normal' then
Do_key('Enter_Query');
else
Do_Key('Execute_Query');
End if;
but when I first open the form and  pressed the button it execute the query immediately. I don't know why.
poznanAsked:
Who is Participating?
 
HainKurtSr. System AnalystCommented:
it means :system.Mode is abnormal :)
0
 
HainKurtSr. System AnalystCommented:
kidding, did you check the value of :system.Mode before this command? what does it show?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.