DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2005
    Location
    Georgia
    Posts
    1

    File System Object and printing reports

    Hi all,

    I'm new here, just joined today. Anyway, my questions has to do with printing reports from an Access DB table. I want to use ASP to create the report in MS Word format. My report looks fine but while it seems to page-break nicely, I would like to be able to carry the column Headings over to each page instead of just the first page; force Landscape Orientation and number each of the pages. Right now, I use the FileSystemObject and HTML tables to create the report. If I could add those other elements, it would be a great report.
    Thanks for any help,
    Chris
    ~`^%

  2. #2
    Join Date
    Dec 2003
    Location
    San Diego
    Posts
    202
    shadowspell,

    I would look into the VBA Document Object. Here is an example of the page orientation,

    ActiveDocument.PageSetup.Orientation = wdOrientLandscape

    You can find the language reference here,

    VBA Document Object

    Good luck,
    Michael Sanchez
    Managing Technical Editor
    Forum Moderator
    FreeVBCode.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links