[progress Communities] [progress Openedge Abl] Forum Post: Re: Wrapping Text Within A Form?

  • Thread starter Thread starter LarryDusch
  • Start date Start date
Status
Not open for further replies.
L

LarryDusch

Guest
Another option is to check the length of product.description and see if it exceeds 52 characters. If it does, then do a down , then display the rest of the description. Something along the lines of e.g.
Code:
 display stream blah entryitem.product .... with frame f-detail. if length(product.description) > 52 then do: down stream blah with frame f-detail. display stream blah substring(product.description,53) @ product.description with frame f-detail. down stream blah with frame f-detail. end.
And if you want to be fancy you could r-index from column 52 to find the first blank and parse the description based on that. (Sorry James, first post and I haven't figured out how to post code yet).

Continue reading...
 
Status
Not open for further replies.
Back
Top