‎2007 Aug 14 11:35 AM
Hi everyone!
I would like to ask how to check the maximum number of characters that field can take?
Thank you!
‎2007 Aug 14 11:39 AM
‎2007 Aug 14 11:37 AM
Hello,
It depends upon the definition of the field,
If u r declaring the field like this
data: char(255).
Then the field CHAR can accomadate 255 characters max.
Vasanth
‎2007 Aug 14 11:39 AM
‎2007 Aug 14 11:45 AM
‎2007 Aug 14 12:17 PM
Hi..
Using Describe Field statement we can get the Length of the field.
Eg:
DATA: FLD(8),
LEN TYPE I.
DESCRIBE FIELD FLD LENGTH LEN IN CHARACTER MODE.
write:/ Len.
<b>Reward if Helpful</b>
‎2007 Aug 15 2:23 AM
> Hi..
>
> Using Describe Field statement we can get the Length
> of the field.
> Eg:
>
> DATA: FLD(8),
> LEN TYPE I.
> DESCRIBE FIELD FLD LENGTH LEN IN CHARACTER MODE.
> write:/ Len.
> ]Reward if Helpful</b>
Thank you very much!
‎2007 Aug 14 12:34 PM
‎2007 Aug 14 12:44 PM
Hello,
It depends upon the definition of the field,
If u r declaring the field like this
data: char(255).
Then the field CHAR can accomadate 255 characters max.
if helpful reward some points.
with regards,
Suresh Aluri.