Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Doug Hennig
  Where is Doug Hennig?
 Winnipeg
 Canada
 Doug Hennig
 To: Jon Goad
  Where is Jon Goad?
 Jonesboro
 Arkansas - United States
 Jon Goad
 Tags
Subject: RE: Programmatic report creation problems
Thread ID: 143415 Message ID: 143679 # Views: 2 # Ratings: 1
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Thursday, August 30, 2007 9:35:43 PM         
   


Hi Jon.

> The only problem I seem to be running into is determining the total width of my report (and therefore the maximum allowable width of some of my objects) if I'm using the Printable Page setting instead of Whole Page. Any advice on how to figure this one out?

If you set cUnits property of the SFReportFile instance to "I" (for inches), then just keep track of the cumulative width of the objects. Once they hit the paper width (eg. 8" for letter size with marghins for the printer), it's time to move to a new row.

Doug

ENTIRE THREAD

Programmatic report creation problems Posted by Jon Goad @ 8/28/2007 5:10:58 PM
RE: Programmatic report creation problems Posted by Doug Hennig @ 8/28/2007 6:10:16 PM
RE: Programmatic report creation problems Posted by Jon Goad @ 8/28/2007 7:08:18 PM
RE: Programmatic report creation problems Posted by Doug Hennig @ 8/28/2007 9:14:39 PM
RE: Programmatic report creation problems Posted by Jon Goad @ 8/29/2007 7:41:19 PM
RE: Programmatic report creation problems Posted by Doug Hennig @ 8/30/2007 9:35:43 PM