Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file btrieve probleme

Status
Not open for further replies.

king2007

Programmer
Sep 26, 2007
3
DZ
hi
i have database btrieve under novell 3.12
and after shut down electric
all files are good only one i can edit the file but i have lost some recors interval and i cant edit or insert the lost records in the interval lost, only on the last.
how i can fix this file
thanks
 
First, what error are you getting? Once you get the error, you can determine what needs to be done to fix the file. For example, if you are getting a status 2, a rebuild of the file should fix it. If you are getting a different error, you need to post it.


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
hi
thanks for your reply
first my database no get me error or number of error
only i have see that one file .dat have lost some records in some interval of all records.
and i can not edit or insert record lost in their place.
and when i use pervasive and when i point en record lost pervasive bloc and shows records next after next without stop.
i have use butil too, same when i export data, it export data from begin to preor the record lost and stop.

if u want i can send u the file for more information.
thanks u
best regards
 
If you've lost records after a power failure, those records are most likely gone as they weren't written to disk.
If you've got a backup with those records, you should restore from backup. If you don't have a backup, you'll need to recreate the records.


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
ok thanks
but how to insert all those record lost if i can not insert in the interval lost just in the end of file
and if you can tell me wich software can do it.
software edit and browse btrieve data.
thanks
 
The software you use is the software that's generating the Btrieve files. Btrieve files do not keep any structure or field information so there's no generic browse/edit software.



Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
It may be a problem with the page allocation table. I've seen a database that did not report an error but lost the records. I don't like to leave my email address here but visit if you want and send me an email with the file from there I'll take a look.

Thanks,
Gil

Gil
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top