>I am writing a 'report' using textmege, and seeing something I have not come across yet. >when issuing a \<> after set textmerge on. >the contents of the memo field are display ' reported on as requested, however natural line breaks, (set noramlly with set memowidth to XX ) are no longer there. > >I just get the contents of the memo in one long string. > >is there anyway to to have set textmege produce a memo string, in using the memowidth setting ?
The problem is back, eh? I've had trouble with this in FP2.0, when I was doing some contract generator for banks and cooperatives. The trick I used then was to re-merge the final text. In today's terms, it would be
cTxt=filetostr("merged.txt") set text to newmerge.txt set text on \\{{cTxt}} set text off set text to
I've set textmerge delimiters to {{}} just for this occasion so they'd show up. For some reason textmerge engine doesn't do the wrap when unwrapping a memo, but does expand the {{}} embedded expressions in it; it wraps simple variables and expressions otherwise, but then doesn't expand the embedded expressions unless they are in a memo. Ergo, if you find no other fix for this, it'll have to be a two-pass operation. Hope this works.