Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing DBC?
Message
De
22/05/2014 15:26:43
 
 
À
22/05/2014 14:57:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01600507
Message ID:
01600513
Vues:
57
>>>Help! Had a customer call in that the .dbc to our program was *missing*. Fixed it by hand with great cost of hair pulled, and thought that was the end of it. It's since reoccurred there once, and now with two other customers at separate locations...
>>>
>>>Is there an easy way to recreate a DBC from tables? What could be causing the DBC to disappear? The other database files (DCX and DCT) are still present, as well as an .FPT and .PAS. I'm about to suspect something in a backup or cleanup routine, but haven't had time to look into it yet.
>>>
>>>Chris.
>>
>>VFP ships with a utility program called Gendbc.prg. This will generate a program which can re-create a database.
>
>Gendbc will create a new blank database and tables. Not a good solution for an existing customer with data they want to keep. ;-)
>
>I had to run it on a different version and add in FREE TABLE, ADD TABLE and comment out CREATE TABLE, but was hoping for something quicker, easier, and more accurate.
>
>Chris.

If you have another computer with exactly the same data structure. you can run gendbc to create a program which your customer can run to recreate the dbc. Having said that, I have never used a dbc myself, one of the reasons for this decision is the vulnerability which caused your problems.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform