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

screen error in tabstrip control

Former Member
0 Likes
711

hi all,

I'm practicing a program for Tabstrip control.

it will be like this

tab1 tab2

number1 result

number2

number1 number2 result are of integer data types.

now the problem is

the program is giving result when I declare the above variables as char...that to with some limit.

but if the varilable are of type int program is givng an error called screen error.

why this is happening ?

whats the solution for it?

points assured,

Usha.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
685

HI,

try like this...

1.goto that perticular Screen Element List, there you will find a tab General Attributes.

2.In that change the Format Column for that perticular field from CHAR to INT1 ( by default it will take as CHAR ).

now you will not get any error.

Regards,

Sathish Reddy.

5 REPLIES 5
Read only

Former Member
0 Likes
685

Hi Usha,

To my understanding i can suggest you to look after the lengths of the number1 and number2. As you said if INT then the error is thrown there might be some length issue.

Cheers!!

VEnk@

Read only

0 Likes
685

thanks venkat.

Read only

0 Likes
685

Hi Usha,

Is your issue resolved ?

Basically when you declare NUMC if you restrict the value length in the screen layout according to the length then this type of errors ill be eliminated.

Why dont you go for NUMC rather and check, why is your value is high to use INT.

Cheers!!

VEnk@

Read only

Former Member
0 Likes
686

HI,

try like this...

1.goto that perticular Screen Element List, there you will find a tab General Attributes.

2.In that change the Format Column for that perticular field from CHAR to INT1 ( by default it will take as CHAR ).

now you will not get any error.

Regards,

Sathish Reddy.

Read only

0 Likes
685

thanks a lot sathish..

my problem is solved.