Re: FPD report help
From: Fred Taylor (ftaylor_at_mvps.org!REMOVE)
Date: 02/05/05
- Next message: Bill Anderson: "Bill Anderson at LA Fox February 8/Using Software Design Patterns"
- Previous message: Mike Gagnon: "Re: PDF printing"
- In reply to: Dan_Musicant: "FPD report help"
- Next in thread: Dan_Musicant: "Re: FPD report help"
- Reply: Dan_Musicant: "Re: FPD report help"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 5 Feb 2005 12:00:42 -0700
You could add the totals by adding a an additional record at the end with
the totals in it. Put it all in a cursor using a SELECT * FROM yourtable
INTO CURSOR yourcursor and then doing an INSERT INTO yourcursor (somefields)
VALUES (somevalues)
As far as the headers go, I don't think you can get there from here very
easily in FPD. VFP it would be a piece of cake via automation.
-- Fred Microsoft Visual FoxPro MVP "Dan_Musicant" <man@privacy.net> wrote in message news:0d1a01po12mt7e013knn6humjp4339g57c@4ax.com... > My client runs a mature many-featured FPD application and I've been > asked to modify a couple of the PRG-generated reports. These reports use > ?, no FRX involved, and are powered by cursors for the data. The reports > have numerous options driven by selector windows. Once the selections > are made, the user picks between Screen and Printer. I'm being asked to > include an option to create an Excel spreadsheet. I did something like > this for them a couple years ago. It was a bunch of work, but I came up > with a satisfactory solution. I thought I'd ask here before really > getting into this. > > The printed version supports some stuff that I don't know how I'd > support in a spreadsheet. I mean, I can do a COPY TO FILE (lcFilename) > TYPE XLS, and if my fieldnames are sufficiently descriptive, it might be > satisfactory. But it would be nice if I could include nice things like a > page heading and a total line at the end. Is that stuff possible without > some weird kludge?
- Next message: Bill Anderson: "Bill Anderson at LA Fox February 8/Using Software Design Patterns"
- Previous message: Mike Gagnon: "Re: PDF printing"
- In reply to: Dan_Musicant: "FPD report help"
- Next in thread: Dan_Musicant: "Re: FPD report help"
- Reply: Dan_Musicant: "Re: FPD report help"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|