Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Programmatic conversion of 3.0 DBC to 6.0
Message
De
15/04/1999 20:44:39
 
 
À
15/04/1999 18:51:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00208815
Message ID:
00208832
Vues:
25
>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.

Since you're copying your 3.0 data files to a 6.0 copy, all you should need to do is open the copy with VFP6 development and COMPILE DATABASE xxxx. This should stop the problem of the runtime saying "previous version"...
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform