richen
3rd September 2004, 16:48
I have a text field what i want to strip because it is too long
i have done the following
string description(30)
select tttxt010.*
from tttxt010
where tttxt010.ctxt = :tiitm001.txts
and tttxt010.clan = "4"
and tttxt010.seqe = 1
selectdo
endselect
description = strip$(shiftl$(tttxt010.text))
but when i print de session description shows 240 characters instead of 30 characters
Is there an other way to do this?
i have done the following
string description(30)
select tttxt010.*
from tttxt010
where tttxt010.ctxt = :tiitm001.txts
and tttxt010.clan = "4"
and tttxt010.seqe = 1
selectdo
endselect
description = strip$(shiftl$(tttxt010.text))
but when i print de session description shows 240 characters instead of 30 characters
Is there an other way to do this?