Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
How to create a table? |
Post Reply |
Author | |
Ingo
Moderator Group Joined: 29 Oct 05 Status: Offline Points: 3524 |
Post Options
Thanks(0)
Posted: 22 Apr 09 at 2:20AM |
Hi Will!
The library doesn't support real tablecreation in the document. There are special html-functions to put few html-formattings into the document but not for tables. If you want to do this you have to use the normal draw-functions. It's possible to get a "table-like" output with the library but there aren't real supporting functions to do this. Cheers, Ingo |
|
Will Donaldson
Beginner Joined: 21 Apr 09 Location: United States Status: Offline Points: 1 |
Post Options
Thanks(0)
|
Hello,
I need to create PDF document lists "on-the-fly" from user-defined SQL Statements. Here is an example for creating a HTML table. What is the best way to do this using my newly purchased library?
Sorry if this is a no-brainer. I am completely new to creating PDFs and this library. Is there a Table element that I overlooked in the documentation? Are there several ways to do this? All input is appreciated.
Thanks,
Will
<-snipped----
<table colspan="6" cellpadding="5" border="0" style="border-collapse: collapse" bordercolor="#111111" cellspacing="0">
<tr> <th>Show</th> <th>Reported</th> <th>User Name</th> <th>Company</th> <th>Type</th> <th>Number</th> <th>Message</th> </tr> <% ' show the data Do Until oRecordSet.EOF Response.Write("<TR>") Response.Write("<TD><a href='ShowError.asp?id=" & oRecordSet("Id") & "'>Details</a></TD>") Response.Write("<TD>" & FormatDateTime(oRecordSet("ServerDate"),0) & "</TD>") Response.Write("<TD>" & oRecordSet("UserName") & "</TD>") Response.Write("<TD>" & oRecordSet("CompanyName")& "</TD>") Response.Write("<TD>" & oRecordSet("Type") & "</TD>") Response.Write("<TD>" & oRecordSet("Number") & "</TD>") Response.Write("<TD>" & oRecordSet("Message") & "</TD>") Response.Write("</TR>") oRecordSet.MoveNext Loop %> </table> <-snipped---- |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store