Joe, I have never seen usable results from any of the wizards.
Your initial idea, to use cursors, is by far the best approach. To Hell with what the report writer wizard wants; create a cursor that contains the data you want, in the order you want it, and then create the simplest report you can to display it. IMO, the amount of work you have to do to smoke out the intricacies of the wizard-built report will far exceed the effort to simply build the report by itself. Dan Covill ---------------------------------------- > Date: Mon, 29 Jun 2015 15:13:40 -0400 > Subject: Cursors and Report Writer for a beginner > From: [email protected] > To: [email protected] > > I am working on an application that reads in a pair of .CSV files, tweaks > their data, and then call the VFP report writer to produce a paper report. > I started out assuming that I could build cursors to feed the report but > discovered that the report writer wizard wants tables. When I tried a > workaround I got into trouble so I caved and switched to tables > > When I did the report using tables and then recreated the tables the report > would no longer run. Apparently the wizard adds index tags to the tables > which my rewrite eliminated. > > It is probably obvious that I have very little experience with One to many > reports so am stumbling around finding lots of things that don't work. If > someone could suggest the best approach for a beginner I think it would > save me a lot of time. > > My preference would be to stay in cursors and setup the environment in code > before calling a report. I will have multiple reports and will find it > easier to understand the code in a .prg rather than buried in the report. > > Thanks in advance for any help, > > Joe _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

