>* Get the longest label and add 1 >SELECT max(len(label_name))+1 ; > FROM mydb!table1 ; > INTO ARRAY laMaxCaption >>Then, when you format the return string, change the line to this:
>m.lcReturn = m.lcReturn + ; > ALLTRIM(m.laCaptions(i,1)) + ; > REPLICATE(' ',laMaxCaption[1]-len(laCaptions[i,1])+[: ]+ ; > TRANSFORM(EVALUATE(m.laCaptions(i,2)))+CHR>
"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."
- Ephesians 4:29-30 NIV
Dare to Question -- Care to Answer
Time is like water in a sponge, as long as you are willing you can always squeeze some.
--Lu Xun, Father of Modern Chinese Literature