Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

The statement is not accessible

Former Member
0 Likes
726

I have created an event handles class at the beginning of the program and afterwards I have called one of the screens I have created. The screen number is 100 and the calling sentence:

call screen 100.

The program triggers an error calling 'the statement is not accessible'

what can I do?

Thanks.

Please help. I need it immedately.

Thanks.

deniz.

I have created an event handles class at the beginning of the program and afterwards I have called one of the screens I have created. The screen number is 100 and the calling sentence:

call screen 100.

The program triggers an error calling 'the statement is not accessible'

what can I do?

Thanks.

Please help. I need it immedately.

Thanks.

deniz.

3 REPLIES 3
Read only

Former Member
0 Likes
553

Hello,

Did you try typing

START-OF-SELECTION.

beofre calling your screen?

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
553

Try putting the implementation of the local class at the end of the program.

Regards,

RIch Heilman

Read only

Former Member
0 Likes
553

I have always put my event handler definition and implementations in a separate Include. And, put that include statement near the top of my main program.

Try that to see if it works for you.

robert.