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

field size

Former Member
0 Likes
587

hi,

i have a field with size 9 and 5 decimal point. if value accumulated for this field greater than the size allocated what should i do. i do not want to change the size.

thanks

hi,

i have a field with size 9 and 5 decimal point. if value accumulated for this field greater than the size allocated what should i do. i do not want to change the size.

thanks

4 REPLIES 4
Read only

former_member194669
Active Contributor
0 Likes
567

It will give dump. For avoiding this you may calculate the length of the result before moving value to this field. If result goes over the size the field , then you can give message to user.

Please give more info, the field is in report or dialog or others....

aRs

Read only

0 Likes
567

hi,

it is in report.

any help?

thanks

Read only

Former Member
0 Likes
567

i dont think you can avoid the dump error without declaring a new variable with bigger size. If it is in report you can try for type p decimals 5. It will show the result in same way ...... it does not affect your output with leading zero or any thing..

regards

shiba dutta

Read only

former_member194669
Active Contributor
0 Likes
567

For avoiding dump you need to change with size of the field.

aRs