i have a problem with bands i generate programmatically:
wpsupermerge.SetSourceDest(wprichtext.RTFData,nil);
wprichtext.Clear;
wprichtext.AsString := 'chuck';
WPRichText.RTFData.Cursor.MoveTo(WPRichText.FirstPar);
g := wpsupermerge.AddGroup(wpatPosition);
g.Name := 'MAIN';
wprichtext.RTFData.Cursor.moveto(g.childpar);
bh := wpsupermerge.AddBand(wpmHeader);
bd := wpsupermerge.AddBand(wpmData);
bf := wpsupermerge.AddBand(wpmFooter);
on screen everything looks fine, but when i try to save it, the stream(file) das not contain information about the bands (\wpmergepar.....)
when inserting bands manually, everything works
any idea what to do about it
chuck