corrupt database

Totte Alm totte at code66.se
Sat Feb 1 09:28:51 CST 2003


lördagen den 1 februari 2003 kl 00.13 skrev jda:

>
>>
>> Is it not possible for you (for the future) changing the one-file  
>> mode to an other? I am using ind-file and one file for the rest.  
>> Thats a good solution, because corrupt Indexes are often and hard  
>> work. I know it sound stupid, but I choose the solution to delete the  
>> Index-File before I open the database (Coded by myself). This takes a  
>> while until database is reindexed again but it is more stabile and I  
>> have less questions from Users, because there app doesn't crash and I  
>> have to write them "Please look in your database-directory and delete  
>> the file with *.ind".
>
> This of course works, but it's kind of ugly on a Mac, especially if  
> your users can have many databases, as mine can. I use a one-file  
> solution, but have a menu called Database Maintenance, and one of the  
> options is Rebuild Index. When users have problems with finds or  
> sorts, I tell them to rebuild the index and everything is fine again.  
> BTW, I've never personally had a crash due to a corrupted index, just  
> couldn't do searches or sorts properly.


I now ose f-file mode on MacOS X, and it is VERY nice, as you have the  
4 files in a bundled folder (with an icon and extension), and it looks  
like a file, but is a package. The olny problem is that you have to  
hack the NavServicesOpen as it doesnt work on "Replace file" when the  
user wants to replace an existing  oackage-folder with a new, you get  
"Cannot  replace folder error", else it works perfect.

This isnt RB though its [VSDK Macho PB], but soon I will release the  
app and you will be able to see for your self ;-). I guess you can to  
the same workaround for NavSevices on RB, and you have to set some  
NavServices OpenFlags, and Hack a little in your PList,


// Totte

>
------------------------------------------------------------------------ 
-----------------------
A Microsoft Certified Systems Engineer is to computing what a McDonalds  
Certified Food Specialist is to fine cuisine.



More information about the Valentina mailing list