Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to programmatically prepare a Report like FPD 2, but not using (.FRX / .FRT) the report builder.

Status
Not open for further replies.
Sep 26, 2020
11
IN
Hello Friends,
I am a new comer to the Visual FoxPro-9 Programming world. I want to know how to create report using @ Row,Col like Dos FoxPro 2.6
Thank you
 
The short answer is that you do it in exactly the same way as you would in Foxpro for DOS. The [tt]@/SAY[/tt] and [tt]?[/tt] commands still work. Just remember that to direct the output to the printer, you must issue [tt]SET DEVICE[/tt] or [tt]SET PRINTER.[/tt]

That's the short answer. But the real answer is that you really should try to forget [tt]@/SAY[/tt] and [tt]?[/tt], and learn how to use the VFP report writer. It's not all that difficult, and it will allow you to greatly improve the quality of your reports.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top