Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with DBF
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Problem with DBF
Divers
Thread ID:
00765052
Message ID:
00765052
Vues:
50
Hi!

Sometimes I had some problems with DBF files...
After a crash or something like that, DBF files do not return any error, but I can't add records using INSERT-SQL command.

For example, if I execute the command in a "special crash DBF"...
Insert Into MyTable (Field1, Field2, FieldN) Values (1,"test",date())
... VFP do not return any error, but the new record is not added.

So, to solve it, I have to do it:
USE MyTable Excl
Browse
Press CTRL+Y (Add Record)
Press CTRL+T (Delete this new record)
PACK
After it, if I repeat the command Insert, the new record is added correctly.

Someone knows when this problem appears, and how to prevent it?
Because the major problem is sometimes the user do not percept it and add a lot of data for nothing.... :'(

[]s
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Rodolfo Duarte
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform