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: 143420 # Views: 4 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, August 28, 2007 6:10:16 PM         
   


Hi Jon.

> 1. The classes don't currently support wrapping fields that don't fit, which would be really nice (something similar to "wrap fields" option in the Report Wizard in VFP).

I'm not sure what you mean by not supported. Since you're responsible for object positioning (setting the nHPosition and nVPosition properties), it's your code that specifies where the fields go, not mine.

> 2. In light of problem # 1, if you include enough fields that they run off the page, and then your print or preview the report in VFP9 with SET REPORTBEHAVIOR=90, the report preview looks squashed, and it appears as if a non-standard paper size is being used (it's quite narrow, almost like if you were printing to a receipt slip printer). However, if you SET REPORTBEHAVIOR=80, the report will preview, but of course the fields that don't fit are truncated.

That's the way the reporting engine in VFP works. The solution is to not let the fields run off the page {g}.

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