‎2008 Nov 06 9:14 AM
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.
‎2008 Nov 06 10:03 AM
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.
‎2008 Nov 06 9:31 AM
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@
‎2008 Nov 06 9:34 AM
‎2008 Nov 06 9:59 AM
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@
‎2008 Nov 06 10:03 AM
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.
‎2008 Nov 06 10:54 AM