« Return to Thread: In 3 col x 7 row table cannot add less than 21 records

Re: In 3 col x 7 row table cannot add less than 21 records

by Paulo Soares-3 :: Rate this Message:

Reply to Author | View in Thread

 

> -----Original Message-----
> From: bogorman [mailto:brian_og@...]
> Sent: Tuesday, June 09, 2009 9:27 AM
> To: itextsharp-questions@...
> Subject: Re: [itextsharp-questions] In 3 col x 7 row table
> cannot add less than 21 records
>
>
> Hi Paulo,
> Thanks again for your help.
> Cannot understand how the cell height could cause this (am
> probably being
> dumb!!)
> Maybe I have not described the problem correctly:
> The pdf created is perfect if the recordset contains 21
> records, or 42, or
> 63.. records
> If, for example, the recordset contains only 1 record, I get the error
> mentioned previously.
> If, for example, the recordset contains 22 records, a pdf
> with one page
> containing 21 records is created with perfect spacing but no
> second page is
> created (I have lost the final record).
> I can't understand how the cell height could cause this but
> maybe I am not
> understanding it.
> If I should use SplitLate or CompleteRow, could you give me
> an example of
> the coding?
> Regards
> Brian
>
>
PdfPTable only outputs complete rows. Check that you are writing all the columns in that row. There are lots of examples at http://1t3xt.info/examples/browse/index.php.

Paulo

Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.

Disclaimer:
This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
itextsharp-questions mailing list
itextsharp-questions@...
https://lists.sourceforge.net/lists/listinfo/itextsharp-questions

 « Return to Thread: In 3 col x 7 row table cannot add less than 21 records