Hi Garrett
Your suggestion also works. Have you seen this before?
Simon
>>The line lcTxt=lcTxt+.Controls(ln).Render() does not add the text returned by the render
>>function, instead replaces lcTxt with the value returned. Thus loosing all the previously
>>accumulated text in the string. This happens on the recusive call to the container Render
>>function. This happens with or without the "with/Endwith" code.
>
>What happens if you change it to
lcTxt = "" + lcTxt + .Controls(ln).Render()
?
Simon White
dCipher Computing