Versions des environnements
Network:
Windows 2008 Server
>>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.
Précédent
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