Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Programmatic conversion of 3.0 DBC to 6.0
Hello All,
I'm working in an environment where VFP 3.0 databases are created nightly in a batch process from data on a mainframe. I've finally convinced my manager that moving to 6.0 is a good idea, but he wants to take it slow and steady. My job is to create a mirror of the 3.0 databases and tables onto a separate server for 6.0 data and then move the applications over one by one.
Since it's easy to open a 3.0 DBC in the 6.0 development environment, I assumed I would only need to copy the database files and allow them to be converted automatically when the 6.0 applications run. Unfortunately, when I try to access the tables from a compiled VFP 6.0 .EXE file on the new server, I get the error: "The database for table [pathtodbf] could not be opened..." I tried running a mini app againt the DBCs to simply OPEN DATABASE [myDBC], but that produced the error "Object file [pathtodbc] was compiled in a different version of FoxPro." Hopefully, there is an easy answer to this that is simply eluding me at the moment. BTW, the VFP 6.0 development environment is not on the server, only the runtime files. We'd like to keep it that way if possible.
Thanks in advance,
-Bernie Falor
Library Video Co.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement