Hello all,
I have never worked with FoxPro-Prolog languages. However, I am assigned a project that will help convert this project to the latest language.
The problem here, in addition to being a newbie, is that the version of FoxPro that is currently being used is version 1.8
The project is that, FoxPro 1.8 has the DB, some 20 odd DBF files. And then there is a prolog script that runs in the foreground. There are at least 15 prolog scripts and I do not have any idea to the sequence of these scripts. Each of this script is about 300o lines long.
The UI is a DOS based screen that the user enters values. Based on those, calls to some tables are made. Some complicated statistical calculations are done on this data which then gets inserted into these tables.
The complexity of this program is high. Also what complicates it further is that there is no documentation at all, which make my life so much fun. The people that are currently working with this program, have no idea about the tables, what is there in the tables and the logic for the script. All they know is what data to input and what screen comes up next and what to do in that screen and then print this information.
The computer, on which this project is running, has never been updated for the fear of breaking this program. I have a couple of dilemmas:
1. If I extract the data from the FoxPro databases and start writing the program from scratch it would take tremendous effort and not to mention the fact that the people actually using this have no idea what is happening. To get the logic, I would have to talk to an in house scientist, which I hope has some idea,
So, I am hoping that is there a way I could use this program in today’s environment. Maybe write a script in windows environment that actually has its own UI, but when u click a button on the new UI, it calls the old program, or in essence actually connects to the old screen and that in turn calls the FoxPro. So I would need something that could compile this combination of FoxPro and Prolog.
2. The second would be to extract the FoxPro information and bite the bullet. I managed to extract the data from all the tables expect one which has 250,000 rows or such. The method that I was using was that, open the DBF file in excel. Save it as excel and then open it in access. I can’t do that in Excel since Excel allows only 65000 rows. All the remaining data is lost. If I open the file directly in Access, by using the import option it gives me a error “Unexpected error from external database driver”. I think its giving me the error since the oldest version of DBF files that is there, is DBF III. And the version of my file is older than that. So I need some advice as to how to get the data put of there.
3. Also, any documentation on FoxPro 1.8 or Prolog. And how those two works together would be very helpful.
Has someone done a project like this? If yes, what was the strategy?
If no, what would be the best possible strategy to go about this project.
I would appreciate any guidance of any sort.
I am pretty clueless at this point.
I appreciate any help.
Thanks in advance
Rosalia
I have never worked with FoxPro-Prolog languages. However, I am assigned a project that will help convert this project to the latest language.
The problem here, in addition to being a newbie, is that the version of FoxPro that is currently being used is version 1.8
The project is that, FoxPro 1.8 has the DB, some 20 odd DBF files. And then there is a prolog script that runs in the foreground. There are at least 15 prolog scripts and I do not have any idea to the sequence of these scripts. Each of this script is about 300o lines long.
The UI is a DOS based screen that the user enters values. Based on those, calls to some tables are made. Some complicated statistical calculations are done on this data which then gets inserted into these tables.
The complexity of this program is high. Also what complicates it further is that there is no documentation at all, which make my life so much fun. The people that are currently working with this program, have no idea about the tables, what is there in the tables and the logic for the script. All they know is what data to input and what screen comes up next and what to do in that screen and then print this information.
The computer, on which this project is running, has never been updated for the fear of breaking this program. I have a couple of dilemmas:
1. If I extract the data from the FoxPro databases and start writing the program from scratch it would take tremendous effort and not to mention the fact that the people actually using this have no idea what is happening. To get the logic, I would have to talk to an in house scientist, which I hope has some idea,
So, I am hoping that is there a way I could use this program in today’s environment. Maybe write a script in windows environment that actually has its own UI, but when u click a button on the new UI, it calls the old program, or in essence actually connects to the old screen and that in turn calls the FoxPro. So I would need something that could compile this combination of FoxPro and Prolog.
2. The second would be to extract the FoxPro information and bite the bullet. I managed to extract the data from all the tables expect one which has 250,000 rows or such. The method that I was using was that, open the DBF file in excel. Save it as excel and then open it in access. I can’t do that in Excel since Excel allows only 65000 rows. All the remaining data is lost. If I open the file directly in Access, by using the import option it gives me a error “Unexpected error from external database driver”. I think its giving me the error since the oldest version of DBF files that is there, is DBF III. And the version of my file is older than that. So I need some advice as to how to get the data put of there.
3. Also, any documentation on FoxPro 1.8 or Prolog. And how those two works together would be very helpful.
Has someone done a project like this? If yes, what was the strategy?
If no, what would be the best possible strategy to go about this project.
I would appreciate any guidance of any sort.
I am pretty clueless at this point.
I appreciate any help.
Thanks in advance
Rosalia