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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Converting 2.6 reports to 6.0 in mass

Status
Not open for further replies.

robmac

Programmer
Jun 25, 2001
8
US
I am working on converting a foxpro 2.6 system to vfp 6.0. One of the problems we are running into is creating a conversion program to move a large amount of user-created reports (anywhere from 150 to 500+) from 2.6 to 6.0. The reports are currently stored in memo fields in a reports table. We have found that we can convert them OK by just opening the report in the Visual development environment and then closing them again, but this is a system that is deployed on 400+ systems around the country that don't have access to VFP. We need to find a way to programmatically convert the reports. Any help would be appreciated.
 
A very easy and simple way is to create a new project in VFP 6.0, with a program being the start program. By doing this the converter is executed. After creating the new project to a rebuild and create your APP or EXE and you have can now have Foxpro 2.6 system compiled under VFP 6.0. I have a large application with more than 700 objects, 130 programs, 163 screen, 5 menus, 272 reports 31 tables, etc. I only had to make minor changes. The main one was to set Strictdate to 0. The other was to put code in to recognize which version I was running on. You only need one copy of the code, if you make changes in the Foxpro 2.6 version and recomile or recreate the exe's or app. Hope this helps.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top