JointLantic

How to find Filed data length in PeopleCode

How to find Filed data length in PeopleCode

How to find Filed data length in PeopleCode function of PeopleSoft. You can Len(record.field) function of PeopleCode.

Example: Len(Record.Descr254)

You can use this code for requirement such as

if  Len(Record.Descr254) >  254 then

winmessage(‘Please input text data less than 254 or equal 254’,0);

end-if;

Exit mobile version