Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jon Goad
  Where is Jon Goad?
 Jonesboro
 Arkansas - United States
 Jon Goad
 Tags
Subject: Programmatic report creation problems
Thread ID: 143415 Message ID: 143415 # Views: 12 # Ratings: 0
Version: Visual FoxPro 9 Category: Reports and Printers
Date: Tuesday, August 28, 2007 5:10:58 PM         
   


Hello,

I've been playing around with Doug Hennig's Report Objects (http://www.stonefield.com/pub/repobj.html), which consist of some VFP classes that can be used to programmatically create reports on the fly. These work great for simple reports with a few fields. However, I'm having a couple of related problems:

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).

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.

I was wondering if anyone else has had any experience with these same problems, or can give me some advice as to how to approach correcting them.

Thanks,

Jon

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