Показать сообщение отдельно
Старый 25.06.2005, 23:58   #9  
gb is offline
gb
Участник
 
42 / 15 (1) ++
Регистрация: 31.03.2005
George,
Thanks a lot for your quick responce.
I actually decided to use Epilog and it works ok. See below. I am looping through myTable and pull all notes related to my purchId.

public void executeSection() // this is for epilog
{
MyTable myTable;

if (printEpilog) // this is just a global var
{
While select myTable
where myTable.PurchId == purchIdForDoc
{
strDocTitle = myTable.DocDesc;
strDocNotes = myTable.Notes;
super();
}
}
}

The only problem I have now is that when a document is longer than one page then it prints its part for one page then skips blank page and then continue on third page. Kind of strange. I tried different size of documents and it seems not important as long as it is longer than one page. The really wierd thing is that if I have two documents attached and one of them longer than one page, everythihg works fine - no blank pages.
Tnank you.