Resize the text box so that just fmt1 and fmt2 show. Then right-click on it, select "Format...", and make sure that "Can Grow" is turned on.
Then, change your formulas - fmt1 and fmt2 stay the same, but the rest of the odd numbered ones will look like this:
if (not IsNull({Command.Code}) then
chr(13) + chr(10) + Text: " + {Command.CODE} + " - " + {Command.DESC}
else ''
And the even numbered ones will look like this:
if (not IsNull({Command.Code} then
chr(9) + Text: " + {Command.CODE} + " - " + {Command.DESC}
else ''
chr(9) = Tab character
chr(10) = Line Feed
chr(13) = Carriage Return
Take the manual returns out of the text box and let the formulas handle it. So, what's in the text box might look like this:
{@fmt1} {@fmt2}{@fmt3}{@fmt4}{@fmt5}...
If you have any data in the same section as the text box but which is displayed below the text box, create a new section under this section and move the fields to the new section. The section that your text box is in will grow based on the size of the field and the other data will automatically appear below it no matter what the size is.
-Dell