LYNX EXPLORATION ARCHIVIST ONLINE HELP

Catalogue Tables and Archive Project Files

CATBASE Version: 3.3
ZEBLIB Version: 1.6

Catalogues are built, displayed and edited in the LEA applications Florence and Zebedee

Back to:


Catalogue Grid Editor

Each catalogue is stored either as a table in an Oracle database, or as a dBASE table in a file with extension DBF. Catalogues are loaded into a grid for display and editing in the applications Florence and Zebedee. dBASE tables are loaded into an internal temporary Firebird database, and saved back to disk as a new DBF file when changes are explicitly committed. This means that DBF tables are not suitable for use in a multi-user environment, as the commit operation will overwrite the entire disk file with your current record set, thus losing concurrent changes made by another user. See Using Databases in LEA Applications - Firebird Embedded Database for more information.

Catalogue data grid - displaying and editing the catalogue

Florence and Zebedee display each catalogue in a separate window as a scrollable grid
Sort on any column in the catalogue by clicking its title bar.
For Oracle catalogues, you can order on a column in ascending or descending order by clicking the column header. To order by more than one column, hold down SHIFT while clicking the column header.
You can also filter the displayed records using the filter bar, to display only records which match some criteria you specify. Click the top-left corner of the grid to display a popup menu, and click Filter bar. Enter your filter conditions, and then right-click the top-left corner of the grid to apply your filter.
The catalogue grid also allows interactive searching for a specific record (applicable for both Oracle and dBASE catalogues). Click the top-left corner of the grid to display a popup menu, and click Search bar. This will display the search bar at the top of the grid. Then select the column and start typing the leading characters of the record you want to locate in the grid. The current record pointer will be moved to the nearest match found in the table.

Individual cells can be edited by clicking within them when the catalogue is in Edit mode (see Catalogue - Edit Table Mode  menu option below).
In View mode, you can select multiple records for bulk editing operations. Multiple records (rows) can be selected by holding the <CTRL> key while clicking each row with the mouse, or selecting the first and last records in a range and then clicking the Catalogue - Select Range menu option.
Columns can be resized by dragging the column title. The column widths for the catalogue will be saved in the project file.

Note: Zebedee will display Attribute and Location catalogues as read-only, with a grey background to the grid. Editing options are not available on read-only catalogues.

Catalogues have the following menu options on the main menu of Florence and Zebedee:


Catalogue Find & Replace

The Find/Replace dialogue can be used to edit data in catalogue table grids. The dialogue is displayed when any of the menu options Catalogue-Find, Catalogue-Find & Replace or Catalogue-Global Replace are selected.

The dialogue displays the following parameters. Not all parameters are applicable to all three modes - those not applicable are disabled.

Field

Select the field from the current table from the drop-down list.

Find Value

In Find and Find & Replace modes, specify the value to search for in the field specified above.
In Global Replace mode this parameter is disabled.

When searching a DATE/TIME field specify the date/time value using the regional settings for your PC

Replace with

In Find mode this parameter is disabled.
In Find & Replace and Global Replace modes, specify the value to post for all matching records.
See note above for specifying a date/time value.

Case Sensitive - YES/NO

In Find and Find & Replace modes, this determines whether the search is case-sensitive or not. This option only applies to string-type fields.
In Global Replace mode this parameter is disabled.

Partial match - YES/NO

In Find and Find & Replace modes, this determines whether to accept values which contain only part of the key field value - for example 'HAM' would match both 'HAMM' and 'HAMMER'. This option only applies to string-type fields.
In Global Replace mode this parameter is disabled.

Start at

In Find and Find & Replace modes, select whether to search from the first record in the table, or the current record in the table.
In Global Replace mode this parameter is disabled.

Apply to

In Global Replace mode, select whether to change of value of the specified field for all records of the table or the selected records.
This parameter is disabled in Find and Find & Replace modes.

Catalogue Data Export

The data files listed in the currently focused catalogue can be exported to disk using the File-Export Data Files menu option in Florence and Zebedee. This will display a PRMEDIT dialogue with the following parameters:

Export - select from:

Destination Folder - specify the folder to which to copy the data files

Recreate Source Folder Tree - select from:

You may be prompted to reset the project root directory to its original path if this has been modified since the files were added to the catalogue.
A progress window will display the current status of the export, and a report will be generated listing the files exported, and the destination file names.



Archive Project Files and the Project Manager

Archive Project files have a ZEB extension and are used by Florence and Zebedee to group related catalogues. The project file contains a list of all the CDFs and database tables used, plus parameters used for searching and reconciling which can be set in Florence and Zebedee respectively.

Project Manager Window

Project Manager Open highlighted catalogue Path of root folder Remove catalogue from project Add an existing catalogue file to the current project Save catalogue Create a new catalogue for the currently highlighted CDF CDFs in current project File path of current project Set root folder for search Edit project parameters Remove CDF from project Add CDF

The Project Manager Window is a docking window that can be placed anywhere on the screen or docked into the main window of Florence and Zebedee. Its position will be saved in the project file.
The Project Manager displays the CDFs and catalogues in a hierarchical view. Catalogues are divided into three categories:

Note that Florence and Zebedee both use the same project file, but use different parts of it:

The Project Manger Window displays the components of the currently open project. The vertical toolbar and the main window's Project main menu item offer the following options:



Error Messages

Listed below are the error messages that may be generated by applications that use this unit

Error creating table

This error may occur because of an inconsistent field/index structure. Also, check that the database is not locked by another user. For SQL databases, check that the current database user has permission to create or overwrite tables. For desktop databases, check that the destination file/folder is writeable.


Error opening table

Check that the table exists, and the current user has permission to open it. This error may also occur when attempting to open a comma-delimited ASCII file as a table, in which case the data within the file does not match the expected table structure.


Error saving table

An error occured while attempting to save the cached updates of a table. This operation uses transactions to ensure that all data is saved, or none of it is. This may occur if records have been locked by another user. If the error persists, the best course of action is to save your work to a temporary local database table (as Paradox or dBASE format), then re-import this table into the main database table at a later time.


Error adding field to table

This error occurs when adding a field definition to a table, before creating the table. The field definition does not make sense. This error may occur when reading a Catalogue Description File, and probably means that the CDF is corrupted.


File name unknown

This error is produced by the Object-View and Object-Attributes menu options.
The catalogue contains no entry for the file name of the LEA Object, or the catalogue contains no filename field, and either the catalogue has no primary index defined, or the catalogue was built in a previous session of the application and then re-opened. This means that the name of the file cannot be found in the temporary index table that is maintained for this purpose.


The relative path does not exist under the root folder

This error is produced by the Object-View and Object-Attributes menu options.
The catalogue contains only relative path names, and the file specified by the catalogue cannot be found under the current root folder. This error may occur if a project is re-opened when data referred to in catalogues has been moved from its original location, or a project has been opened on a different network client with different drive mappngs. If you can reset the project root folder to the folder which contains the specified files, then you can reselect the menu option which caused this error, and the problem should be resolved.

Duplicate CDF not allowed

Each CDF in a project must be unique. This error will occur if you attempt to add a CDF to a project which already contains a CDF with the same file name.


See also:
[Catalogue Description Files]
[Florence - Catalogue Builder]
[Zebedee - Reconciler and GIS Builder]
[Data Cataloguing Index]