I have a table that takes up the bottom 1/4 of the first page. If the contents of this table is too long for the first page, I would like it to continue onto the second page. For the life of me I can’t get this to work. In designer I create a new document, put a table on the first page, copied this table to the following pages layer. I’ve messed around with all the properties but still can’t seem to get it to work.
This is my printloop:
hJob = LlJobOpen(CMBTLANG_ENGLISH);
LlSetOptionString(hJob, LL_OPTIONSTR_LICENSINGINFO, “P5G0D”);
LlSetOption(hJob,LL_OPTION_AUTOMULTIPAGE, TRUE);
LlDefineFieldExt(hJob, “@Remarks”,"", LL_TEXT, NULL);
LlXSetParameter(hJob, LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.File”, exportName);
LlXSetParameter(hJob, LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Path”, pathSelected);
LlXSetParameter(hJob, LL_LLX_EXTENSIONTYPE_EXPORT, “PDF”, “Export.Quiet”, “1”);
error = LlPrintWithBoxStart(hJob, LL_PROJECT_LIST, path,LL_PRINT_EXPORT,LL_BOXTYPE_NORMALMETER, this->m_hWnd, “Printing…”);
LlPrintSetOptionString(hJob, LL_PRNOPTSTR_EXPORT, “PDF”);
LlDefineFieldStart(hJob);
LlPrint(hJob);
LlDefineFieldExt(hJob, “@Remarks”, remark, LL_TEXT, NULL);
int nRet;
nRet = LlPrintFields(hJob);
while(nRet == LL_WRN_REPEAT_DATA){
LlPrint(hJob);
nRet = LlPrintFields(hJob);
}
LlPrintFieldsEnd(hJob);
LlPrintEnd(hJob,0);
LlJobClose(hJob);
I wonder if anyone can provide me with some help!