hi ahi,
I have written a VFP7 client to a postgres back-end server. It allow VFP7 to connect to a postgres back-end server and send SQL command. The SQL command fetches records that are placed in a VFP7 cursor. Once this is done, you can create report in the normal VFP7 way like using the native VFP7 report writer, or you could use other reporting tools that are designed to work with VFP7 like FoxFire or Crystal.
If your interested you could take a look at the VFP7 client. It is freeware complete with source code.
You must enter the site and click on option # 18.
One possible problem is you will need VFP7 to run the example app. Anyway, the concepts I've used are pretty generic and could easily be applied to other front-end client written in VB, Delphi, perl, php, C++, etc. Also, the front-ends could be modified to work with about any database like MSSQL, MySQL, Oracle, DB2, Informax, Sybase, and of course Postgres.
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox