File System Object and printing reports


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: File System Object and printing reports

  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

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center