TITLE=Database dialog / Database Settings CONTENT=

Database dialog / Database Settings

You can use this tab to specify the settings of databases. This dialog contains the following options.

$DLGDATABASEDIALOG_ENABLE@MC$: Use this option to enable and disable the database. If a database is enabled, it will be used in normal searches (when you press Find Now button or Enter). This enabled/disabled state do not have effect on the "Update databases" command.

$DLGDATABASEDIALOG_GLOBALUPDATE@MC$: Use this button to change the update globally state for the database. If this state is enabled, the database will be updated when "Update databases" command is chosen.

$DLGDATABASEDIALOG_THREAD@MC$: You can use this combo box to specify which thread is used for update process. The number of available threads depends on the Threads used for updating option in the Database settings.

$DLGDATABASEDIALOG_NAME@MC$: Use this field to give a name for the database. Every database should have an unique name.

$DLGDATABASEDIALOG_DBFILE@MC$: Use this field to specify a file to which the content of the database is stored. The file name should be valid and user should have sufficient access (read and write the file) to the given location. You can open a standard file open dialog to specify database file name and location usingBrowse button.
A file name can contain "%locatedir%" which is the same as the Locate32's directory. For example, "%locatedir%\files.dbs" means "C:\Program Files\Locate\files.dbs" if Locate32 is installed to "C:\Program Files\Locate" directory.

$DLGDATABASEDIALOG_UNICODE@MC$: If this option is enabled, filenames are stored using Unicode character set. This option should be enabled if you have files using Cyrillic or Chinese alphabets or other special characters. It is also recommended to enable this option also in other cases.

$DLGDATABASEDIALOG_DONOTOVERWRITEEXISTING@MCP$: If this option is enabled and the database is updated, the database file is not overwritten and the content of scanned drives is added to the tail of database. For example, this option can be used to cataloging CD-ROM and DVD discs (to create a database containing all files in several discs, setup a database containing CD/ DVD rom drive and enable this option, insert a disc to drive and update database, insert another disc and update database again).

$DLGDATABASEDIALOG_CREATOR@MC$: Use this field to specify the name of the creator of the database. This information is shown in Database Info dialog (File menu).

$DLGDATABASEDIALOG_DESCRIPTION@MC$: Use this field to specify the description for the database. This information is shown in Database Info dialog (File menu).

$DLGDATABASEDIALOG_CHECKLOCALDRIVES@MC$: If this option is enabled, the database contains files that are the local drives (external hard discs are often treated as a local drive).

$DLGDATABASEDIALOG_CUSTOM@MC$: Enable this option to choose drives and directories that will be included to the database. Use the $DLGDATABASEDIALOG_DRIVESANDFOLDERS@MC$ list below and $DLGDATABASEDIALOG_ADDFOLDER@MC$ button to specify these drives and directories.

$DLGDATABASEDIALOG_SCANSYMLINKSANDJUNCTIONS@MC$: If this option is enabled, junctions or symbolic links refering to directories are also scanned and files and directories are included to databases.

$DLGDATABASEDIALOG_STOPIFROOTUNAVAILABLE@MC$: If this option is enabled, updating the database will be stopped if some of drives or directories is unavailable. This option can be used with network shares or external drives. Note that, since the database is written only just at the end of updating process, this stopping means that the database file is not updated at all. More information here. Note: if $STRADVANCEDSETTINGS_SHOWNONCRITICALERRORS@Cp$ option in Advanced settings is enabled, in the case of an unavailable drive or directory you will get an error message which also aks whether you want to continue updating the database or skip it. In that case this option is used only as a default choise (which is chosen if you just press enter when the error message appears).

$DLGDATABASEDIALOG_ADVANCED@MC$: This button will open a dialog of settings that can be used to include/exclude files and directories and specify directory maps.

$DLGDATABASEDIALOG_DRIVESANDFOLDERS@MC$: This list contains the drives, directories and network shares which are included to the database when Custom option is checked. You can add new drive or directory to the list using $DLGDATABASEDIALOG_ADDFOLDER@MC$ button and remove the selected directory directory using $DLGDATABASEDIALOG_REMOVE@MC$ button. The order of the directories can be changed using $DLGDATABASEDIALOG_UP@MC$ and $DLGDATABASEDIALOG_DOWN@MC$ buttons.