Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Dec 14, 1999

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.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date