Making the VFP Report Writer Accessible By VB

Making the VFP Report Writer Accessible By VB

Question:
I’m a Visual FoxPro 6.0 programmer and recently decided to use Visual Basic 6.0. Everything seemed to be fine in VB until it came to creating a report. The data reports provided by VB are too basic.

Is there a way that VB can use the VFP Report Writer?

(I don’t intend to use any third-party software. I would like my program to be pure Microsoft.)

Answer:
It is possible to run the VFP Report Writer (both MODIFY REPORT and REPORT FORM) from a VFP executable. You could create an executable that calls the Report Writer and then call the .exe from the VB app.

The VFP Report Writer only runs against VFP data. If the data is not in VFP format, you will need to convert the data that you want to display/print into VFP tables before working in the VFP Report Writer/Designer and printing/displaying the report. You may be able to get around the conversion by creating remote views against the data, if the proper ODBC Drivers are loaded.

Share the Post:
data observability

Data Observability Explained

Data is the lifeblood of any successful business, as it is the driving force behind critical decision-making, insight generation, and strategic development. However, due to its intricate nature, ensuring the

Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular