Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database corrupted
Message
 
 
À
16/02/2011 09:01:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01500385
Message ID:
01500390
Vues:
46
>Hi friends.
>
>I use a datatase for stored procedures. When I'm testing a program often cancels because of any error. Sometimes when I atempt to modify the stored procedures a message appears: "Record is out of range" or so.
>
>I was solving this problem restoring a previous version from a backup. I got a third party program to repare tables but I didn't find one to repare such VFP databases. I haven't lost a big change till now but I could stay a few hours programming a great function or procedure that gets the moon and I won't be very happy if I have to restore a previous backup.
>
>Every time I start one of my programs I "validate" so that's not a solution.
>
>Any idea?
>
>Thank you.
>
> Héctor

I suggest to do the following every time you're about to modify the database

1. PACK DATABASE myDB
2.COMPILE DATABASE myDB

Now it should be OK to modify.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform