devxlogo

Printing a Visual FoxPro Report in Text Mode

Printing a Visual FoxPro Report in Text Mode

Question:
My reports are printed in graphic mode. Is there a way to print my reports in text mode?

Answer:
The REPORT FORM command has a parameter called “ASCII” that writes the report in text mode. Realize, however, that none of the graphics will be in the report.

Here is an example of writing a report out to a text file using the ASCII parameter:

REPORT FORM myreport ASCII TO FILE myfile.txt

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist