Calvin made a post about using the CREATE REPORT xxx FROM command , a tool which I've used numerous times and is extremely handy for quick reports.
What Calvin didn't completely note was some of the added features with that.
CREATE REPORT dummy FROM test FORM - creates a form instead of a column based report - GREAT for coming with with screen output for single records
CREATE REPORT dummy FROM test FIELDS custno,custname,street, address - lets you specify exactly what fields and the order
CREATE REPORT dummy FROM test WIDTH - lets you even specify individual column widths
No - it's not a replacement for a good report writer but it is a good start.
But Calvin's post also discusses outputting it directly to HTML using the new VFP 9 Report Listener options. Very cool.
Calvin Hsia's WebLog : Creating a quick report from any cursor
What Calvin didn't completely note was some of the added features with that.
CREATE REPORT dummy FROM test FORM - creates a form instead of a column based report - GREAT for coming with with screen output for single records
CREATE REPORT dummy FROM test FIELDS custno,custname,street, address - lets you specify exactly what fields and the order
CREATE REPORT dummy FROM test WIDTH - lets you even specify individual column widths
No - it's not a replacement for a good report writer but it is a good start.
But Calvin's post also discusses outputting it directly to HTML using the new VFP 9 Report Listener options. Very cool.
Calvin Hsia's WebLog : Creating a quick report from any cursor
Comments