CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Printout with ASP and HTML Template

Print topic Send  topic

Author Message
Doug
Posted: 01/05/2002, 8:30 AM

If you know ASP you probably can help me. Cause I don't. I also checked out the CC Article but Istill can't get it to work. Should be straight forward.

The following code should pick up 2 cells on an html template where the field names of the database match the {field} inside the cell right? There should be multiple rows and I can only get one row to show up. I think it has to do with the parse statement. I don't have anything special on the HTML template. The only related things are the field names. So if I'm missing something on that please tell me.


-Doug
-----------------------------------------------------------------------
'-----------Process Table: InvoiceItems
sSQL = "select * from InvoiceItems where InvoiceID=" & ToSQL(InvoiceID, "Number")
openrs rs, sSQL
iCounter = 0
while not rs.eof
For Each fld In rs.Fields
SetVar fld.Name , toHTML(GetValue(rs,fld.Name))
Next
Parse "DListInvoiceItems", True
iCounter = iCounter + 1
rs.movenext
wend
---------------------------------------------------
Doug
Posted: 01/08/2002, 7:30 AM

Please see orginal thread.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.