Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with DBF
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Problem with DBF
Miscellaneous
Thread ID:
00765052
Message ID:
00765052
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform