Ibase PDF
Ibase PDF
IBM
SC27-5091-00
Note
1. This edition applies to version 9.0.1 of IBM i2 iBase and to all subsequent releases and
modifications until otherwise indicated in new editions. Ensure that you are reading the appropriate
document for the version of the product that you are using. To find a specific version of this
document go to the IBM i2 iBase documentation.
2. Before using this document and the product it supports, read the information in “Notices” on
page 349.
This edition applies to version 9, release 0, modification 1 of IBM® i2® iBase and to all subsequent releases and
modifications until otherwise indicated in new editions.
© Copyright International Business Machines Corporation 1991, 2020.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
iii
Icons and pictures......................................................................................................................... 35
Yes or No fields.............................................................................................................................. 35
Code lists........................................................................................................................................36
Times and time zones....................................................................................................................36
Strength fields................................................................................................................................36
Coordinates in iBase...................................................................................................................... 37
System fields..................................................................................................................................37
Entering and reviewing data on a data sheet................................................................................38
Adding notes to folders................................................................................................................. 41
Selecting the record owner................................................................................................................. 41
Viewing the record history.................................................................................................................. 41
Changes to Code Lists....................................................................................................................43
Viewing charts..................................................................................................................................... 43
Chapter 5. Sets............................................................................................... 83
Listing records..................................................................................................................................... 83
Adding records to sets........................................................................................................................ 84
Managing sets......................................................................................................................................84
Combining sets....................................................................................................................................85
Analyzing sets......................................................................................................................................86
iv
Finding Out About Set Membership....................................................................................................86
Chapter 9. Reporting.....................................................................................133
Producing reports..............................................................................................................................133
Reporting in HTML.............................................................................................................................136
Reporting in Microsoft Access.......................................................................................................... 137
Defining a report................................................................................................................................138
v
Page setup (General tab).............................................................................................................138
Selecting entity fields.................................................................................................................. 139
Selecting the link types and link end entities............................................................................. 140
Sorting the records...................................................................................................................... 140
Formatting the records................................................................................................................141
Default report definition for the entity type................................................................................142
Document templates........................................................................................................................ 142
Folder for documents used as templates................................................................................... 143
Template styles........................................................................................................................... 143
Formatting a Microsoft Word document as a template.............................................................. 144
Extra content in Microsoft Word reports.....................................................................................145
Report definitions..............................................................................................................................148
Link reports....................................................................................................................................... 149
vi
Introduction to iBase Plate Analysis...........................................................................................214
Geographical Profiling................................................................................................................. 215
Convoy Analysis........................................................................................................................... 216
Generating VRM Lists.................................................................................................................. 218
Finding Common Vehicles........................................................................................................... 219
Combining Vehicle Data Sets...................................................................................................... 219
Retrieving Images........................................................................................................................220
Configuring iBase Plate Analysis.................................................................................................223
IBM i2 iBase GIS Interfaces............................................................................................................. 225
Setting up mapping configurations............................................................................................. 226
Geocode data...............................................................................................................................230
Changing the display of map items............................................................................................. 231
Identifying records without geocode data..................................................................................232
Removing temporary mapping files............................................................................................ 232
Coordinates in iBase....................................................................................................................233
iBase Audit Viewer............................................................................................................................ 238
Opening an audit log....................................................................................................................239
Example of using the audit viewer.............................................................................................. 241
Working with log entries..............................................................................................................242
Inspecting logs for different audit levels.................................................................................... 243
Viewing audit histories................................................................................................................ 243
Viewing code list histories...........................................................................................................245
Working with security logs.......................................................................................................... 246
Creating an active audit log report..............................................................................................246
Archiving audit logs..................................................................................................................... 247
Notices......................................................................................................... 349
Trademarks....................................................................................................................................... 350
vii
viii
Chapter 1. Overview of IBM i2 iBase
IBM® i2® iBase provides powerful solutions for configuring, capturing, controlling, analyzing and
displaying complex information and relationships in link and entity data. iBase is both a database
application and a modeling and analysis tool.
Entering data
As a database application you can do all the things you would expect, such as adding records,
deleting records, and importing, and exporting records.
Additional features
The features available in iBase depend on the type of database you have. If you have an SQL Server
database, you may be able to manage data on a case-by-case basis, and add alerts to monitor when
records of interest change or are viewed. Search 360 provides powerful tools for both simple and
complex searches.
Creating a database
If your user account has the permission Database Creator, you can create a new database from a
template supplied by your database designer. The template defines the type of information that can
be stored in the database: the entity types, link types, and other items including any queries and
browse definitions.
Certain details, such as the file type, are not defined in the template and you should discuss these
details with your system administrator before creating a new database. Specifically, you should
discuss:
• Which database type to use, either Microsoft Access or SQL Server.
Procedure
To create a new database from a template:
1. Ensure that you are logged into iBase, but have no databases open.
2. Select File > New Database.
3. Click the Template tab.
4. Select a template. Click View if you wish to see the entity types, link types and fields in the
template.
Note: You can also create a template from a different database, and use that template instead. For
more information, see Creating a template from an existing database.
5. Click the Configuration tab, and select the database type.
6. Click the Details tab, and enter the name of the database and some information about the purpose
of the database or its contents.
7. Click the Advanced tab, and enter the details:
Option Description
Database Optionally, enter a short string of text in the Database Identifier box. Do this
Identifier if you wish to identify entity and link records as belonging to this database.
This database identifier is only necessary if you plan to perform operations
outside iBase on records taken from different databases.
Extra Detail Type the name of a field (in this database) in the Extra Detail Field for Audit
Field for Audit Log box if you wish to have the audit log record the value of this field when
Log recording actions that affect records.
Soft Delete Turn on the Soft Delete check box if you wish to use a two stage process for
deleting records. With Soft Delete turned off, all delete operations take place
immediately. If the Soft Delete check box turned on, all Delete commands
First Day of Displays the first day of the week as set for this database. This defaults to
Week <System> which is Sunday for Microsoft Access databases. For SQL
databases, this is derived from the current locale as set on your machine or
via the locale ID of the SQL Server machine.
You should only need to change this if the locale on the SQL Server machine
is different to your local machine or you are working with statistics and you
want your week to start on a different day.
Note: The start day of the week may affect calculations on dates and date
parts.
8. Click OK to create the database with the settings you have made.
Procedure
1. Select File > New Database Template.
2. In the Template Manager, click New.
3. Browse to the database that you would like to use as the basis for your template.
4. Review the entity and link types to check that you opened an appropriate database.
5. Enter a name for the new database. Choose a name that is suitable for use as a file name.
6. Click OK to create the template.
What to do next
If you create a template from an existing database, create a new database from the template and
check in both iBase Designer and iBase that the new database includes only useful components.
If your organization uses semantic types, check that the IBM i2 Semantic Type Library is up-to-date
and contains no duplicates. If any semantic types are missing, do not create new ones but instead
load them from file as described in Loading the Semantic Type Library.
Types of use
iBase can be used by both Designers and Users. Designers are responsible for designing databases
and setting up the properties of entities and links and for configuring security, these tasks are referred
to as administrative tasks. Users can use databases, add or import records, and manipulate or analyze
the data.
For example if you wanted to add a new type of entity to your database, such as an airport, then the
Designer would do that and set up all the required properties of an airport. But if you wanted to record
the details of an actual airport, and then run queries about airports, these would be user tasks.
Typically a database would have maybe one or two people who carry out the administrative tasks but
may have many people who can carry out user tasks. iBase has separate modules for Designers and
Users so you log on to whichever is appropriate for you.
The roles of designers and users can be summarized as follows:
Designers
Designers use iBase Designer to:
• Design databases - this process usually involves consulting with the intended users to decide
exactly what information is to be stored and in what form.
• Create new databases - includes creating all the required entity and link types.
• Update databases - adding new entity and link types as requirements arise.
• Configure databases - setting up code lists, labeling schemes and all the other things that affect
how the database is used.
• Administer the database - for example: adding users, setting security, deleting old records, and
backing-up the data.
Users
Users use iBase to:
• Add, modify and delete records.
• Create sets and queries to find data of particular interest.
• Analyze the data using a variety of tools.
• Create reports or charts based upon the data.
Opening a database
To use iBase you need to log on and open a database. Logging on happens automatically if iBase is set
up to use your existing Windows username and password. You will be prompted to enter an iBase
username and password if iBase is not set up in this way.
If you have previously opened a database, iBase may offer to open that database the next time you
start.You can only have one database open at a time in any iBase session. When you have opened a
database, you can perform all of the actions that your access control settings allow.
Selecting a database
To use iBase, you need to log on and open a database. Logging on happens automatically if iBase is
set up to use Windows authentication, alternatively, you are prompted to enter an iBase username
and password.
Procedure
1. Select File > Open Database, and browse for the database (*.idb) to open.
2. Click Open.
3. If prompted, enter your iBase username and password (the password is displayed as asterisks (*)
for added security).
4. Click OK to view the database summary.
5. Click OK.
Procedure
To open iBase and the example database at the same time:
1. From the start menu, select:IBM i2 iBase > iBase User Guide Database
2. Enter your username and password and click OK. The username and password for the User Guide
database are 'general' (both are lowercase).
3. Click OK.
Option Description
Title The title for the database, as displayed in the
application title bar.
Description The description of the database, as displayed
when any user first opens the database.
File The location of the database (.idb) file.
Configuration details
The configuration page shows details of the database file and format, and the security mode. You can
change the authentication mode when connecting to the SQL Server instance on this page or by using
the Database Configuration tool (see Managing SQL Server Connection Settings).
Advanced properties
The Advanced page displays the current setup of the database, which you can change with caution.
For more information, see iBase Designer https://www.ibm.com/support/knowledgecenter/
SSXVXZ_latest/com.ibm.i2.ibase.designer.doc/advanced_settings.html
Procedure
To generate a report:
1. Click File > Properties > Database Design report.
2. Once you have generate the report you can:
• Browse through the pages
• Refresh the information it contains
• Print the report
Procedure
1. In iBase User, Select File > Properties > Security Design Report.
2. Select the types of details to include in the report:
• Groups - For each security group that has been defined for the database, you can list:
– Permissions and restrictions - What members of the group can access, and what they are
explicitly prevented from doing (for example, editing read-only items).
– Users - The users that are currently members of the group.
– Denied SCC items - The types of entities or link that have restrictions in place, to prevent
members of this group from accessing particular records.
• Users - For each user that can access a database, you can list:
– User Information - The information entered centrally about the specified user.
Note: This report only uses information added in iBase Designer.
– Groups - The groups the user is a current member of.
– Permissions - The specific permissions for the user.
3. Once you have generate the report you can:
• Browse through the pages
• Refresh the information it contains
• Print the report
• Export the report as a spreadsheet, a PDF, or a Microsoft Word document.
Database statistics
Database statistics are provided to give you a summary of the number of records in the database for
each of the entity types and link types. When you are working in multi-case analysis mode, you can
view the number of entity types and link types in each case.
To view the database statistics, select File > Properties > Database Statistics.
Entities
The modeling and analysis facilities in iBase are based on the concepts of entities and links. Entities
are the things that are being represented, such as people, vehicles, and addresses. Links represent
relationships between entities, such as owner, daughter, associate, or account holder.
The different entity types and the details that are held for each (in the entity fields) are already
defined by the database designer in iBase Designer.
Links
The modeling and analysis facilities in iBase are based on the concepts of entities and links. Links
represent relationships between entities, and the characteristics of those relationships.
For example:
• People can be linked to organizations as shareholders, directors, or employees.
• A pair of telephones can be linked by a specific call that is made between them.
You can add links to the database:
• On an individual basis
• By importing them
• By using a custom data sheet, in which case you can enter an entity and its links in one operation.
Generally, you add entities and then the links between them. Each link is a separate record in the
database, and has a unique record number.
Note: A link can also have a direction, as shown by an arrow, and a line style that indicates the
strength, such as whether it is confirmed or unconfirmed. In the Database Explorer, you might be
able to get more information about a link type by moving the pointer over it to display a tooltip. For
information on which semantic types are assigned to the link types in your database, run the
Database Design report.
To list the link types available to you, click the plus sign to the left of the word Links. Select a link type
to display the fields for that link type in the Explorer Detail window.
To find out which combinations of entities and links can be used together, right-click on a link type,
and from the menu, selecting End Types.
Procedure
To open iBase and the example database at the same time:
1. From the start menu, select:IBM i2 iBase > iBase User Guide Database
2. Enter your username and password and click OK. The username and password for the User Guide
database are 'general' (both are lowercase).
3. Click OK.
Procedure
1. Select the following from the Programs group on the Windows Start menu: IBM i2 iBase > Tools >
Reset iBase User Guide Database.
2. Click Yes when prompted to reset the database.
Attention: Reverting to an unmodified User Guide database will mean that you will lose any
changes that you made to the User Guide database. For example, you will delete all
Procedure
1. Check that the server does not have an existing database called User Guide. If it does, rename the
User Guide.idb file, for example to User Guide 2.idb. You will also need to rename the other files
associated with the database (with the suffixes .dot, .doc, .ant and .idx).
2. Copy the User Guide Database folder to a suitable place. It is located in: C:\Program Files\i2 iBase
<n>\Resources\<language>\Examples\User Guide Database
3. Start iBase Designer, and then log on to the security file User Guide.ids as user SYSADMIN and
cancel the option to open a database or create a new one.
4. From the Tools menu, select Database Setup > Upsize > Database to SQL Server.
5. Accept the option to make a backup.
6. Enter the name of the SQL Server machine and a login and password that has the dbcreator role on
the server. Do not use the server name (local) since other clients will not be able to use the
database. This server name is intended only for local use on the server computer. If the database
name does not appear when you refresh the list, type in the machine name of the server.
7. Click Finish.
8. In iBase Designer, use the appropriate search option on the Tools menu to build a search index.
For further information, click Help in the appropriate search dialog.
Entities
The modeling and analysis facilities in iBase are based on the concepts of entities and links. Entities
are the things that are being represented, such as people, vehicles, and addresses. Links represent
relationships between entities, such as owner, daughter, associate, or account holder.
The different entity types and the details that are held for each (in the entity fields) are already
defined by the database designer in iBase Designer.
In Database Explorer, select an entity type to display the fields for that entity type in the Explorer
Detail.
There is one record in the database for each entity and link in the database, and each record has a
unique record number. Generally, you create entities and then the links between the entities.
You can add entities to the database or case:
• On an individual basis
• By importing them
• By using a custom data sheet, in which case you can enter an entity and its links in one operation.
To speed up the entry of data, you can set up:
• Session defaults to automatically insert data into those fields that are common to all the entities
and link types in the database, for example for a source reference field.
• Lists, such as code lists and pick lists, to include those values that you use frequently.
Creating an entity
You can add new data to create entities. The data is organized into different entity types and each
type represents a “thing” such as a person, a crime, or a bank account.
Procedure
1. In the Database Explorer, right-click on the entity type, and from the shortcut menu, select New.
Note: Depending on how the database designer has configured the entity types in your database,
you will display either the New (entity) dialog or the Datasheet dialog. The Datasheet dialog is
displayed for entity types where the datasheet is set to override the standard form; this can only
be changed using iBase Designer. To choose which to use, select New With > New Record for a
standard dialog or New With > datasheet name for a datasheet.
2. Enter the details for the new entity in the New dialog.
Results
The new record is displayed in the Show dialog. The title bar of this dialog also shows the unique
number given to the record when it was saved, such as [ADD48\GEN]. If required, in the Show dialog,
click New to add another record of the same entity type.
Copying an entity
You can create a new entity by copying a similar entity and editing it. Copying an entity can be used
when related items are added that share information.
Procedure
1. Find the entity that you want to copy.
2. Right-click the entity and from the menu, select Show With > Show Record.
3. Click Copy.
4. Edit the entity details.
5. Click Save to save the copy as a new entity.
Data sheets
Your database designer can set up data sheets to use instead of the standard process for adding,
editing, and deleting data. Data sheets are customized forms that are designed especially for your
work.
Data sheets show only the fields that you need, arranged in groupings that reflect your way of
working. Depending on the data sheet, you might be able to use it to enter data for related entities
and links. For data sheets that contain linked entities, the upper part is used to enter details of the
main entity while the lower part is used to enter data about any linked entities. The fields in the lower
part can be a mixture of the link fields and the link end entity fields.
To use a data sheet to create a new entity and create links to new or existing entities, you can:
• Select New > Datasheet > datasheet name.
• Right-click on the entity type, and select New With > datasheet name. Data sheets are listed in the
lower half of the menu.
To use a data sheet to review or edit an entity and its linked entities, including adding new links:
select the entity, right-click and from the menu, select Show With > datasheet name.
Note: Your database designer might decide to make the data sheet the default method for entering
record data for a particular entity. When you want to show records that you can choose whether to
show the details in a data sheet. To make this choice, select one of the Show With options.
Procedure
To review potential duplicate records:
1. Review the list of matching records to determine whether the record really is a duplicate, and if any
new information about a duplicate is available. You can do this by:
• Clicking each record in turn to display a summary of the details.
• Selecting a record and clicking Show Record to display the full details, and edit if necessary.
Show an entity
You often need to see the contents of an individual record, either to read the details or to edit the
information. To display or work with individual entity records that you find, use Show.
Directly opening a record (Show) always shows all of the fields that are defined for an entity whereas
data sheets might omit some fields.
After you have opened an entity, you can edit its details, copy (and then edit) it to a new entity, or
delete it. Depending on the database, you might also be able to the history of the record.
Showing a record might raise an alert.
Merging entities
You might have two or more entities that you decide relate to the same person or thing. You can
merge these entities into one, however, after entities are merged, you cannot reverse the operation.
Procedure
1. Select Edit > Merge Entities.
2. In the Merge Entities dialog, select an Entity Type.
3. In the Merge the records below into this record area, either click Select to find and select the
'merge' entity, or drag a single record from a different dialog into the blank icon area.
Tip: The pointer changes shape when you are over the correct part of the dialog.
4. You can check that you have selected the correct entity by reviewing its details. For example, you
can right-click on the icon and from the shortcut menu, select Show.
5. In the Merge these records into the above record area, click Add to find and select entities to add
to the list of entities that you want to be merged. Alternatively, drag a record from a different
dialog into this area.
Tip: You can check the details of the entities by using commands, such as Show, on the menu. To
display the menu, right-click on a record in the record list.
6. Repeat as required to add more entities.
7. Optionally, turn on Use the values from the records above to substitute blank values in the
'merge' record (and merge append-only fields). Turn this on if you want to assign values from
the entities that are to be deleted to blank fields in the 'merge' entity. If there is more than one
record in the Merge these records into the above record area, then the value is taken from the
first record in the list. Any values in Multi-line (Append Only) fields will also update with any
values from the entities that are to be deleted.
8. Check that only the required entities are listed. If you do not want to merge any of these, select
them and then click Remove.
9. Click Merge and then click Yes to confirm that you want to merge and delete the entities.
10. If the link end entity at the other end of the link is not valid for the link type, you see a warning.
Click Yes to perform the merge (you can modify the link later) or No to cancel the merge in order
to modify the link.
Procedure
To edit the details of an individual record:
1. Find the entity that you want to change and show the record.
a) From the Edit menu, select Find Entity and then select the required entity type.
b) Enter a piece of information about the entity into the appropriate field and click Find.
c) Right-click the required record, and from the menu, select Show.
2. Depending on your organization, you might need to check with the owner of the record before you
edit the entity. If you need to do this, the owner's username is displayed as part of the record
details.
3. Click Edit. All fields that you can change are displayed with a white background.
Tip: If you double-click a multi-line field, a larger window is displayed.
4. Make your changes and then click Save to store the changes in the database.
Note: You can make the same change to a number of entities at the same time: from the Edit
menu, select Batch Edit.
Procedure
To assign a different icon or shading color:
1. Select Edit > Assign Icons and select the entity type from the Entity Type list. The standard icon
for the type is selected automatically in the list.
2. In the Icons list, select the icon that you want to assign to the entity or entities.
The icons that are included in this list depend on the selected entity type. If this entity type has an
Icon type field, then the list is filtered so that you can choose icons from the list that is assigned to
Restore to Any icon assigned to the specified records uses the standard icon color.
Default
4. Specify which entity or entities use the selected icon by selecting one of the following options:
Option Description
Assign to this The icon is assigned to the record that you select.
record
Note: You can also drag a record onto the Assign to this Record.
Assign to records in The icon is assigned to records of the entity type that are in the results of a
this query query, which you select. You can only select from queries that output
records of the specified type.
Assign to records in The icon is assigned to records of the entity type that are contained in a
this set set, which you select. You can only select from sets that contain records of
the specified type.
5. Click Assign to assign the icon.
Batch editing
If you have permission, you can edit the same field in multiple records (of a specified entity or link
type) simultaneously. You can edit all the records of the type, in the database or case, or found by a
query or in a set.
Procedure
To edit a batch of records:
1. Select Edit > Batch Edit, and specify the entity or link type of the records you want to edit from the
Entity/Link Type list.
2. Select the origin of the records from the Source list:
• All records - to work on all records of the selected entity or link type.
• Query - to work on the records that are output by a query, which you select.
• Set - to work on the relevant records contained in a set, which you select.
3. In the Update Field list, select the field whose values you want to edit.
Set To Enter the value that replaces the existing field value.
If you want to change the text in a Multi-line Text (Append Only) field, you need to
log on as a system administrator.
Append For Multi-line (Append Only) fields, you can append the change to the field. To
amend the existing value, you must log on as a system administrator.
Convert To Changes the case of the text.
Prefix, Enter the value that is inserted at the beginning of the existing field value (as a
Suffix prefix) or at the end of the existing field value (as a suffix).
Extract Text You can keep part of the field value and delete the rest.
For example, entering 2 and 5 for a 10-character word, keeps characters 2 - 5 and
delete the first character and characters 6 - 10 .
Trim You can delete characters from the beginning and end of field values:
Leading Spaces - deletes spaces at the beginning of the field value.
Trailing Spaces - deletes spaces at the end of the field value.
Leading and Trailing Spaces - combines the options.
Deleting an entity
You can remove records from the database either individually or in batches. When you delete an
entity, all links to that entity are deleted too. Deleting a record might cause an alert to be raised.
Procedure
1. Find the entity and open the record.
2. Depending on your organization, you may need to check with the owner of the record before
deleting the entity. If you need to do this, the owner's username will be displayed as part of the
entity details.
Links
The modeling and analysis facilities in iBase are based on the concepts of entities and links. Links
represent relationships between entities, and the characteristics of those relationships.
For example:
• People can be linked to organizations as shareholders, directors, or employees.
• A pair of telephones can be linked by a specific call that is made between them.
You can add links to the database:
• On an individual basis
• By importing them
• By using a custom data sheet, in which case you can enter an entity and its links in one operation.
Generally, you add entities and then the links between them. Each link is a separate record in the
database, and has a unique record number.
Note: A link can also have a direction, as shown by an arrow, and a line style that indicates the
strength, such as whether it is confirmed or unconfirmed. In the Database Explorer, you might be
able to get more information about a link type by moving the pointer over it to display a tooltip. For
information on which semantic types are assigned to the link types in your database, run the
Database Design report.
To list the link types available to you, click the plus sign to the left of the word Links. Select a link type
to display the fields for that link type in the Explorer Detail window.
To find out which combinations of entities and links can be used together, right-click on a link type,
and from the menu, selecting End Types.
Creating links
After you create the entities at each end of the link, you can add one or more links between them. The
link represents the relationship between the entities.
Procedure
To create a link between two entities:
1. Select New > Link > link type.
2. Enter the link details.
3. Select the two entities to be connected. For each entity:
a) Click Select.
You might find the options are restricted. For example, when you select a record for a link end,
the options are restricted to the allowed entity types at the ends of the link type.
b) Enter the values that you want to find. You do not need to enter the whole value.
c) Click Find. The found records are then listed. Click each record in turn to check it.
d) Select the entity that you want to use, then click OK to review its details by right-clicking on the
icon and selecting from the menu.
Procedure
To create multiple links:
1. Select New > Multiple Links.
2. Specify the End 1 Entity by clicking Select and then selecting the entity that you want to add.
3. Select multiple entities to which you want to create links in the End 2 Entities list:
• To add entities, click Add and then select the entities that you want to add.
• To remove entities from the list, click Remove.
4. If more than one link type is valid between the selected entity types, select the type of link from
the list.
5. To add an arrow in the required directions, click the arrow on the line between the entities and
select one of the Direction options. Alternatively use the following keyboard shortcuts:
• No direction: Press Ctrl+N
• Right: Press Ctrl+R
• Left: Press Ctrl+L
• Both: Press Ctrl+B
6. To set the strength, click the arrow on the line between the entities and select one of the Strength
options. Alternatively use the following keyboard shortcuts:
• Confirmed: Press Ctrl+O
Procedure
1. Ensure that the entities you want to link, are both open.
2. Click the entity icon and hold down the right mouse button, then drag the cursor over the Show tab
that shows the entity at the other end of the link.
3. Release the mouse button to create the link.
Copying a link
You can copy a link between two entities.
Procedure
1. Find the link that you want to copy. For example, you can use Find, Links, Records, or Browse.
2. Double-click the link.
3. Click Copy or press Ctrl+Y to copy the link details.
4. Click Save or press Ctrl+S to save the copy as a new record.
Showing Links
You often need to see the contents of an individual link, either to read the details, edit the
information, or find out who ownsthe record. In the Show dialog, the link details are displayed in the
upper part of the dialog, and the entities which it connects are displayed in the lower part. Showing a
link may raise an alert.
To find the link record that you want to display in the Show dialog, you can, for example:
• List the link records for a specific link type using dialogs such as Records or Browse
• Search for the link using dialogs such as Find or Query
• List the links in a specific set or query using the Set or Query Records dialog
To list the links from a specific link end entity, use the Links dialog.
In the Show dialog, click New to start entering a new link. The New dialog is displayed in place of the
Show dialog. If an existing link is displayed, you need to click either Save or Cancel to complete your
work on the displayed record before you can click New.
Enter the link details and then select the two entities to be connected by clicking Select. If you were
previously editing a link, you will find that the same link end entities are specified, so that you can
create a new link between them (you can however change these using Select).
Merging links
If you have two or more links that you decide relate to the same relationship or transaction, you can
merge these links into a single link. However, when links are merged, you cannot split the links back
into the original links.
Procedure
1. Select Edit > Merge Links.
2. Select a Link Type.
3. In the Link Ends section, Select the entities at the ends of the links that you are investigating.
When the link ends are selected, a list of the available links is displayed.
4. In the Select the link to merge into section, select the 'merge' link.
Tip: You can check that the correct link is selected by reviewing its details. For example, you can
right-click on the label and from the menu, select Show.
5. In the Select the links to be merged section, select the links to be merged.
6. Optional: If you want to assign values from the links that are to be deleted to blank fields in the
'merge' link, turn on Use the values from the records above to substitute blank values in the
'merge' record (and merge append-only fields).
If there is more than one selected record in the Select the links to be merged section, then the
value is taken from the first record in the list. Any values in Multi-line (Append Only) fields are
updated with values from the links that are to be deleted.
7. Check that only the required links are selected.
8. Click Merge and then click Yes to confirm that you want to merge and delete the links in the Select
the links to be merged section.
Editing links
If you have permission, you can edit link records to add new information or to update existing
information. If necessary, check with the owner of the record before you make any changes. Editing a
link might raise an alert.
Procedure
1. Find the record that you want to change:
a) Select Edit > Find Link and select the required link type.
b) Enter a piece of information about the link into the appropriate fields and click Find. Records
that are found with this information are listed.
c) Right-click on the required link, and from the menu, select Show.
Note: Depending on your organization, you might need to check with the owner of the record
before you edit the link. If you need to contact the owner, the owner's username is displayed as
part of the record details.
2. Click Edit and all fields that you can change are displayed with a white background.
Procedure
To view the valid end types:
1. Locate the required link type.
2. Right-click the link type and select End Types.
Procedure
1. To view the links for an entity, select the entity or link record that you want to investigate. Then
right-click the record, and from the menu, select Links.
2. View the information available:
• In the Links Summary, click on a link type to view all the current link ends for that type.
• In the Link End Summary, select a link end to display the following information:
– A summary view of the link end details.
– All the links to or from this link end. For each link, you can see a summary of the field values.
Individual links are identified by the label of the entity at the end of the link and the label of
the link itself.
3. Optional: Modify the records:
Option Description
The main entity To modify the main entity, click the toolbar buttons to:
• Show, edit, or delete the main entity.
• Show the main entity, its links, and linked entities on an iBase link chart.
• Find out whether there are any other records in the database that match
the main entity.
One or several In the Links area, select one or more link records, right-click, and select an
links option from the menu.
A link end entity In Link End Details, click Show Link End. You can review, edit, or delete the
entity.
Procedure
To create multiple links:
1. Select New > Multiple Links.
Note: Alternatively, in a list of records, select two or more entities, right-click and select Create
Link. If two entities were selected, they are placed at either end of the link. With more than two
entities selected, they are placed at the End 2 of the link, leaving you to specify the End 1 entity.
2. Specify the End 1 Entity by clicking Select and then selecting the entity that you want to add.
3. Confirm that the entities to which you want to create links are present in the End 2 Entities list.
4. If more than one link type is valid between the selected entity types, select the type of link from
the list.
5. To add an arrow in the required directions, click the arrow on the Link line and select the Direction.
Alternatively use the following shortcuts:
• Right: Press Ctrl+R
• Left: Press Ctrl+L
• Both: Press Ctrl+B
6. To set the strength, click the arrow on the link line and select the Strength. Alternatively use the
following shortcuts:
• Confirmed: Press Ctrl+O
• Unconfirmed: Press Ctrl+U
• Tentative: Press Ctrl+T
7. Click OK.
8. Enter the details for the link, or links.
Note: If there are no details required for the link type, you are prompted to confirm that you want
to create the multiple links.
Deleting a link
Exactly what you can delete, or even whether you can delete links at all, depends on your permission
level. You might also need to check with the owner of the record before you delete it.
Procedure
To delete a link:
1. Find the link.
Entering text
To enter new text or edit existing text, click the text box or in a multi-line text box, double-click to
display a Memo Editor, with scroll bars.
Procedure
To edit a Multiline Text (append only) field:
1. Double-click in the field to display the Memo Editor. The original (non-editable text) displays, and a
line is added to the bottom that tags new text with the username, and the date and time.
Note: If you are logged in to the database as the system administrator, you can edit the field
without using the Memo Editor. In this case, any additional text you add is not tagged with your
name and the date and time.
2. Enter text in the bottom pane. To start new lines, press the Enter key.
3. Click OK to save your changes.
Results
The text that you enter in the bottom pane is added to the existing text in the field; none of the text in
the field can be edited or deleted.
Note: In multiline text boxes, you can set the number of rows to be displayed. Select Tools > Options
and select the Number of rows to be displayed.
Procedure
To check the text stored in records:
1. Open a record and ensure that it is in edit mode.
2. Select Spellcheck.
Dates
You can enter and maintain many dates on records, and also find and select records by using date
information. You can enter and maintain many dates on records, and also find and select records by
using date information.
When a document is loaded, you can open the file, save a copy, or delete it from the record. Although
the contents of documents can be added to the search 360 index, you cannot search on Document
type fields by using the Find or Select options.
To load a graphic to represent an entity on a chart, use a picture type field instead.
Procedure
Hyperlink fields are used to store links to documents or iBase records. To enter a hyperlink:
1. Browse for the required document or click to type in the target of the hyperlink.
2. To add another hyperlink, click Add to display a blank hyperlink field.
For example,:
Procedure
• To add an attachment to a field:
a) Open a record and select Edit.
b) Select the attachment icon (a paperclip) next to the field name.
c) Browse and select the attachment to add.
• To save a local copy of an attachment:
a) Open a record that contains an attachment.
b) Select the attachment icon (a paperclip) next to the field name.
c) Browse and select a location to save the file.
Yes or No fields
Click a Yes or No field to select the option or to deselect it.
The field is:
• Turned on when a check mark is shown in the box, which corresponds to Yes.
• Turned off when there is no check mark, which corresponds to No.
Code lists
Code lists can be used to suggest or restrict the values that are added to fields. Ensuring that field
values are aligned across a database can improve search results.
There are three different types of code list:
• Selected from - you can only use the items on the list.
• Suggested from - you can either use an item on this list or enter your own value.
• Security Classification Code - this type of code list controls access to records.
Attention: You can select security classification codes that deny you further access to the
record after you save it.
If you want to find a field value that is no longer included in a list, use a query rather than Find or
Select. In a query, you are allowed a 'free entry' so you can specify non-code list values.
Note: If the list does not contain the item that you want, you can add it by selecting Code Lists from
the Edit menu (provided you have the required permissions as a user).
Procedure
To edit a time:
1. Click a part of the time to edit it.
2. Enter the time by using the number keys or the up and down arrow keys. To edit AM or PM, click it
and then press the A key to change to AM or P to change to PM.
On saving, the time might be changed for storing and display. For example, 9:08 AM might become
09:08:00.
Time zones are used along with date and time type fields.
Strength fields
Line strengths are a useful way of indicating the general status or quality of information that is
represented by an item. For example, whether an association between two people is definite or
speculative, or that an event frame contains information that is unconfirmed.
When you add or edit links, you can click a Strength field to select a strength value:
• Confirmed
• Unconfirmed
• Tentative
Note: The default link strength is Confirmed but you can set a session default of your own so that
every link you create or import during that session uses your value.
Types of field
The fields used to contain the coordinate data must be defined as Real Number type fields. They can
contain the following types of coordinates:
• Latitude and Longitude values, entered in decimal degrees
• Easting and Northing data, entered in meters
These fields will typically be called Latitude and Longitude or X and Y. If you are not sure which fields
you need to use, move the pointer over the field name to see its tooltip, or speak to your database
administrator.
You might also have a Coordinate type field.
Note: You can only use latitude and longitude (decimal degrees) if Coordinate type fields are used.
System fields
Values in system fields are automatically added when the record is saved, and can be displayed by
right-clicking on the record and selecting Properties from the menu. You cannot edit the values in a
system field.
However, you can search using these values:
• Record ID - the record's ID.
• Create Date and Create User - the date and time the record was created, and the username of the
person who added the record.
• Update Date and Update User - the date and time the record was last updated, and the username of
the person who made the change.
Button Description
A link end entity Click the Links button to see full details of the
links from this entity (in list form), or click the
drop-down arrow and select from the shortcut
menu.
Procedure
1. Click Description.
2. Enter the text for the description and click OK.
Results
You can view the text in the list of items, or by moving the mouse pointer over the name.
Note: You might need to scroll to the right to read the complete text.
Procedure
1. Select the records to view:
• In any list of records, right-click on one or more selected records, and from the menu, select
Show History.
• With a record open, click History.
Note: If Audit History is not configured, these menu commands are missing.
2. To select further records of interest, open the Audit History Viewer, and click Select.
3. Refine your selection:
• Filter the records that are displayed by user, entity and link type, and by time.
• To display all records touched by a specific user, in the Records to display area, select All
records used by and select the username from the list. The selected username is displayed as
a reminder.
• To filter by entity and link types, in the Types to display area, select the entities and link types.
Note: Only types with records in your selection are listed, and the records for a selected type
are displayed only when the appropriate checkbox is turned on.
Results
The history of edits area shows information on the changes that are made to the selected record:
Viewing charts
There are two ways of viewing a chart that is embedded in an entity. You can either view the chart in
Analyst's Notebook, or you can use Chart Viewer.
Procedure
1. To view a chart:
a) To view the chart in Analyst's Notebook: right-click on the chart, and select View.
b) To view the chart in the iBase Chart Viewer: right-click on the chart, and select Chart Viewer.
2. Depending on the chart type, review the cover sheet and then click Open if you want to continue.
Both Chart Viewer and Analyst's Notebook display the chart in the same way but changes cannot
be saved in Chart Viewer.
3. Some chart items might have additional information that is stored on cards, or as part of their item
properties. To display this information, right-click on the chart item, and from the menu, select
Edit Item Properties.
Planning imports
Before you create an import specification, compare the data that you would like to import with the
database structure to determine the item types to import. In addition, determine the fields that are
mandatory, and the fields that can be used as identifiers (used to decide whether data matches
records in the database).
Note: If you are importing entities or links that use multi-line text (append only) fields, you might
want to test the import first. You can only add text to the end of fields of this type - you cannot delete
or edit existing text without removing the record.
Procedure
To use an existing import specification:
1. Right-click on Import Specifications and from the menu, select List.
2. Double-click an existing import specification to load it.
3. Click Next to review the details of the import specification.
4. Optional: Click Session Defaults to define default values for the standard fields that are common
to all entity and link types in the database and link strength. They are not saved as part of the
import specification.
Attention: If the import takes too long to complete, you can stop it by clicking Stop.
Stopping an import does not cancel the records that are already imported but no set is
created.
6. When the import completes, you are shown a summary of the import.
7. The final stage of any import is to check to see that the records are imported as you expect. For
example, examine the records in an import set or run a query.
Procedure
1. Select File > Data > Import.
2. Select the type of record that the import creates and the source of the data:
Option Description
Type Each import specification can import data for single entity type or a link type and two
supported link ends. Specify whether the data corresponds to Entities or Links, and
select the type of record to create.
Options If required, in the Options area, turn on the following options:
• Validate imported 'Selected from Code List' values - If you want to verify that the
values in the source data are valid for the code lists in the current database. Invalid
values are reported as errors during an import.
• Do not update existing field values with blank values - If you want to prevent blank
fields in the source data from overwriting fields in existing iBase records that contain
data, turn on this option. This option applies where the action on discovering a match
with existing data is Modify Record.
End (2) A valid entity type for an end of a link of the specified type with the specified End
1.
Link Specify the link direction:
direction
• None - no arrows
• End (1) to End (2) - an arrow points to End 2
• End (2) to End (1) - an arrow points to End 1
• Both - an arrowhead at each end
• From Import Source - The direction of the link is derived from the data that is
mapped to the <direction> field using the following code:
– 0 = None
– 1 = End (1) to End (2)
– 2 = End (2) to End (1)
– 3 = Both
Link Select a specified strength or click From Import Source to specify the strength
Strength based on the data that is mapped to the <strength> field that uses the following
code:
• 0 = Confirmed
• 1 = Unconfirmed
• 2 = Tentative
4. Identify the location and layout of the data. The format of the data is detected when a file name is
entered, but you can change the options if your data is not aligned properly:
Option Description
File Name The path and file name to import.
Start Import at The first record in the file to be imported.
record
Note: You can use First Import Record Contains Field Names to include
column headings that identify the fields in other records.
Text Qualifier The character that is used to identify where text begins and ends.
Note: You can use Auto Trim Trailing Spaces in Data to remove any
extra spaces from imported fields.
Record Delimiter The character that is used to identify the end of a record.
Field Delimiter The character that is used to identify the end of a field.
Date, Time, and The formats used for data of these types.
Number Formats
5. Assign fields in the data to iBase fields using the lists:
Option Description
Auto Assign Assigns data to iBase fields based on field names.
Note: If the automatic assignment is incorrect, you can use Clear all field
assignments to remove all the assignments.
Field Actions Use Field Actions to transform source data into different formats. For more
information, see “Transforming source data” on page 54.
Identifier Set the fields to use to identify existing records to update.
6. Confirm the action to use for matching records.
• If a match is found:
Option Description
Update it The iBase record is updated with the imported information. Whether blank
source fields overwrite fields that contain data depends on the setting Do not
update existing field values with blank values on the Step 1 page of the
import wizard:
• Turn on the checkbox to prevent blank source fields from overwriting iBase
fields.
• Turn off the checkbox to allow blank source fields to overwrite iBase fields.
Don't update The iBase record is not changed (but can be added to a set for later inspection).
it
Confirm Prompt for the action each time a match is found.
action
Option Description
Create it Create an iBase entity with field values imported from the source record. If
link records are being imported, the link is also created.
Don't create it (or Ignores data if a match cannot be found in iBase. If links are being
the link) imported, the end entities are identified independently, and the link is only
be created if both ends can be identified.
Confirm action Prompt for the action each time a match is found.
For more information, see “Matching entities in importing” on page 62 and “Matching links in
importing” on page 63.
7. Enter the details for running the import (and save the import specification so that you can use it
again later):
Option Description
Session Defaults Assign defaults for standard fields that are stored until you exit iBase.
For more information, see “Setting Field Values for the Session” on page
249.
Create an import set To create a set that contains records that are changed by the import.
Provide the name of the set to create, and specify the types of record to
be added.
Write the import To log of the number of records that are created, updated, or left
statistics summary to unchanged (unchanged includes imported records that are matched to
a file an existing record). Enter a name for the file. By default the file is saved
in the same folder as the database.
Write all records with You can choose to save any error files that might be generated or
errors to a file overwrite them each time that you run you run the import. If you intend
to run this import as part of a batch import, you might prefer to save the
error files.
Note: This file is typically overwritten each time the import. If you want
to keep the file, select Append a timestamp to the file name each time
the import is run.
Automatically stop If you want to stop the import when there are more than a number of
the import errors, enter the number. Enter 0 if you want to import the data
regardless of the number of errors.
8. Optional: Select Verify to check the import.
9. Press Run to run the import. You are prompted to save the completed import specification before
the import starts.
Procedure
To import from a Microsoft Access database:
1. In Step 1 of the import wizard, select OLE-DB Compliant Data Source. Click Next.
2. In the Connection area, click OLE-DB Data Source.
3. On the Provider page, select Microsoft Jet 4.0 OLE DB Provider.
4. Enter the connection details for the Microsoft Access database:
a) Click the Connection tab to display the Connection page.
b) Enter the location of the Microsoft Access database and if required, the username and
password for logging on to the Access database.
c) Click Test Connection.
Note:
If the database is an iBase Microsoft Access database, enter the iBase database password: display
the All page, select Jet OLEDB:Database Password, click Edit Value, and enter the password. You
can obtain the password from iBase Designer.
5. Click OK. The OLE-DB Data Source changes to bold to indicate a connection is added (although
not that the connection is correct).
6. From the Source list, select the Microsoft Access table.
7. Click Next to continue in the usual way.
Bulk importing
Bulk imports enable you to import data more quickly, and should be considered if you have large
volumes of data to import or if you find the standard importer too slow. Before you can create and run
a bulk import, the database must be activated for bulk imports.
You can only run bulk import on an SQL Server database. Bulk imports from XML files additionally
require that the database supports Unicode. In addition, you can only run a bulk import from iBase
Designer or the Scheduler utility. Use the Scheduler to run bulk imports at times when the database is
not being used.
A bulk import specification is the same as any other import specification, with the following
limitations:
• You cannot import picture and document fields.
• There is no user action during the import to confirm matching records.
Procedure
To import files from a folder:
1. In the Type area on the first page of the import wizard, select a suitable entity or link type. For
example, to import documents you need an entity or link type that has one or more Document
fields.
2. In the Source area on the first page of the import wizard, click Folder Contents and then click
Next.
3. Enter the path of the folder or browse for it.
4. If required, turn on Include subfolders to import files from any subfolders.
5. Select the type of file to import:
Option Description
Importing Imports all documents and charts. This option does not import any
documents and image files:
charts from a folder
a. Select Documents and click Next to continue.
b. Assign the Document row in the Source Field column to document
field.
Procedure
1. In the Source area on the first page of the import wizard, click Microsoft Excel Spreadsheet and
then click Next.
2. Enter the path of the spreadsheet or browse for it. The worksheets are loaded alphabetically.
3. Select the worksheet that you would like to use from the Sheet list.
Note: If you change the names or the order of the worksheets, click Refresh to update the list of
worksheets in the import wizard.
4. Select the worksheet and then click Next to continue.
Procedure
To specify one or more actions for a field:
1. Click a column in the preview table to select that field.
2. In the Available Actions list, double-click an action to apply it.
3. Complete the settings for the action.
4. Optional: By default, the action is applied to every row of data in the source file. If you want to
apply the action under certain conditions only, you can set a condition.
Available actions
If the data that you are trying to import does not match the field structure of your database, you can
add steps to transform the structure in the import specification. The actions that you can select are
described.
Action Description
Add Prefix Adds text or values immediately before the
import data. For example, Area Code: 01234,
Area Code: 01235, Area Code: 01236 where the
prefix is "Area Code: ".
To add a prefix to the values imported for a field,
enter the text or values in the Prefix to be added
before text box together with any additional
spaces. For example, adding a prefix to a field
that imports a date of birth of an entity, a prefix
"DOB: " might be specified to import a date of
birth in the format DOB: 20/11/58.
Prefix with Another Column Adds the values from another field immediately
before the values imported from the selected
field. For example, you can add a Date field to a
Time field to import a combined date and time.
To complete the settings for an action to Prefix
with Another Column:
1. Select a field from the Select column to add
list.
2. Select the separator that you require to be
inserted between the joined data columns. If
you require a specific character or set of
characters, for example " at " for [Date] at
[Time], select Other separator and enter the
characters and spaces in the adjacent box.
Remove Suffix Removes text from the end of a field value. For
example, " Esq" can be removed from Andrew
SMITH Esq.
To remove a suffix from the values imported for a
field, type the text or values in the box provided
together with any additional spaces.
Replace from Substitution File Replaces a value in a field with values that are
taken from a lookup table. The codes for marital
status, for example, might be replaced with a
term from a lookup table where S = Single, M =
Married, D = Divorced.
To replace values in a field with values from a
substitution file, a file must be created or
available for selection.
Suffix with Another Column Adds the value from another field immediately
after the value imported from the selected field.
For example, you can add a Time field to a Date
field to import a combined date and time.
To complete the settings for an action to Suffix
with Another Column:
1. Select a field from the Select column to add
list.
2. Select the separator that you require to be
inserted between the joined data columns. If
you require a specific character or set of
characters, for example " at " for [Date] at
[Time], select Other separator and type the
characters and spaces in the adjacent box.
Procedure
For each condition you want to apply to the field:
1. Select from the Condition list:
Option Description
Contains Where the field contains the exact portion of text, which can be at the
start, middle or end of the field.
Does not contain Where the field does not contain the exact portion of text.
Does not end with When the field does not end with the entered value text.
Does not start with When the field does not start with the entered value text.
Ends with Where the field ends with the entered value text.
Is blank Where the field does not contain any text.
Is not blank Where the field contains text.
Length equal to When the field width is equal to a specific number of characters.
Length greater than When the field width is greater than a specific number of characters.
Length less than When the field width is less than a specific number of characters.
Regular expression When the data meets a general pattern set by the specified expression. For
example, the expression [0-9] will match on 1, 2, 3, 4 up to 9.
Starts with When the data starts with the entered value text.
2. Click in the Value column and enter the condition text.
Note: The result of using Modify record depends on how you choose to handle blank fields in the
source data by turning on or off the Do not update existing field values with blank values option.
Matching entities have identical values in the identifier fields of the data source and an entity record
already in the database.
Identifiers are suggested for each import specification, as either a combination of fields or a single
field that is unique. The suggestion is based on the discriminator fields, which you can see in the
database design report; you can choose different identifiers if appropriate. All identifier fields must
match for there to be a matching record and you must be importing a field to use it as an identifier.
After a check has established whether or not there is a matching entity, there are two groups of
options.
Note: In case-controlled databases, data can only be imported into the current case. Entities will only
be tested for a match with records in the current case. Identical records may exist in other cases.
Note: The result of using Modify record depends on how you choose to handle blank fields in the
source data by turning on or off the Do not update existing field values with blank values option.
Importing charts
You can import batches of Analyst's Notebook charts that can be viewed and searched like other
iBase records.
In addition, if you have charts that contain information you would like to store within your iBase
database, you can extract this data.
Loading charts
You can load charts into iBase if you have an entity type that has a document type field.
You load the charts by importing them individually using a standard import, or in batches from a
folder. How to import all the charts in a folder, and its subfolders, is explained in Importing Files
From a Folder.
Viewing charts
You can view charts without having to open Analyst's Notebook. Using the Chart Viewer, you can
zoom in and out, find text, and examine chart item properties (such as cards), all as if you were
working in Analyst's Notebook.
Finding text on charts
You can use Chart Viewer to find text on a specific chart.
In an SQL Server database, Search 360 searches for text on any chart, including data records and
cards.
Extracting data into iBase
You can use the Chart Item Extractor to extract data from an Analyst's Notebook chart and store it
in iBase. You can extract Analyst's Notebook data into iBase directly from Analyst's Notebook
when connected to your iBase database or from iBase by opening the Chart Item Extractor and
browsing to the required chart.
Procedure
To correct errors and reimport the data:
1. Open the error file in a text editor.
2. Edit the text to correct the problem that is identified by the error messages displayed at the end of
the import, and then save your changes.
3. In iBase, load the original import specification and then click Next.
4. In the File name box, enter the edited error file as the source data for the import and click Next .
5. Assign the source data to the iBase fields by clicking Auto Assign. Click First and Next to review
the edited records in the source data.
6. Complete the import in the usual way.
Procedure
To reimport iBase data:
1. In Step 1 of the import wizard, in the Source area, turn on The import source contains 'Record
ID's that originated from this database.
This option is unavailable if the entity type does not have visible record IDs. In this case, you will
need to match the records carefully when you import them.
2. Click Next to display the Step 2 page.
3. Enter the file name. You do not need to set any of other options on this page. Click Next.
4. Click Auto Assign, to automatically assign fields in the source data to the iBase fields.
5. Check that the fields are assigned correctly. You must map the iBase Record ID type field to the
import source field that contains the record ID.
6. You do not need to specify any identifier because iBase uses the record ID as the identifier. Click
Next.
7. You do not need to decide whether to check for matching records because iBase will automatically
check against the record ID and only update existing records. Any new record IDs will not be
accepted; new records will not be created. Click OK to continue.
8. Complete the import in the usual way.
Procedure
1. In the database explorer window, right-click Import Specifications or Export Specifications, and
select List.
Tip: To add a specification, click New. Either the import wizard or the export wizard is displayed.
Procedure
To create a batch import specification:
1. Select File > Data and then either Import Batch or Export Batch.
2. Choose the specifications to include in the batch.
The specifications are run sequentially in the same order as the list. To change the position of a
specification in the Batch list, click the specification and then click the up and down arrows.
3. Optional: If you want the batch import or export to continue even if there is a problem with one of
the specifications, turn on Continue running .
4. Click Save or Save As to save the batch specification. You might be prompted for a category and
access control settings.
5. Click Run to run the batch specification.
Procedure
To manually run an existing batch specification:
1. In the Database Explorer view, right-click either Import Batch Specifications or Export Batch
Specifications.
2. From the menu, select List.
3. Load the required batch specification by double-clicking.
4. Review the details of the batch specification.
5. When you are ready to run the batch specification, click Run.
Procedure
1. In the database explorer window, right-click Import Batch Specifications or Export Batch
Specifications, and select List.
Tip: To add a specification, click New.
2. To administer the specifications for your database, right-click a specification and then select one
of the following options.
Option Description
Open To start editing the specification, or to import or export data.
Rename To change the name of the specification.
Save As To save a copy of the selected specification under a new name. The name must be
unique not just to the category folder but to the whole database.
Date formats
Date Order The order in which to arrange the date parts. For
example, Day, Month, Year, or Month, Day, Year.
Date Delimiter The character that separates the date parts (day,
month, year).
Month A month can be formatted or interpreted:
• As a number. For example, months are
specified by their number; January = 01,
February = 02.
• Using an abbreviated name. For example:
January = JAN, February = FEB.
Note: The month format always defaults to MM
(such as 01) even if the format in the Regional
Settings is set to MMM.
Time formats
You can specify the format for times by changing the character (delimiter) that separates hours,
minutes, and seconds. Valid characters include: colons (:), spaces, and periods (.). Do not use
alphanumeric characters. The order of the time parts (hours, minutes, seconds) is determined by your
Windows Regional Settings.
When importing, this determines how times are to be interpreted in the source file; and when
exporting, this determines how to specify times in the destination file.
Attention: Use the Auto Detect Formats option carefully as the format it detects may be
incorrect. You will need to verify that the final results are as you would expect. There are
limitations to using this when the regional settings for AM/PM are set to blank.
Number formats
You can specify the format for numbers by changing the character that is used as the decimal point
(delimiter).
When importing, this determines which character is interpreted as being the decimal point in the
source file. When exporting, this determines the character to be used as the decimal point in the
destination file.
Note: In some regional settings, such as Russian, it is usual to use a non-break space character
(<NBS>) as a delimiter for the thousands in a number format. This prevents the number from being
broken up by a word wrap. When using the Import Wizard, the Date/Time & Number Formats derive
the <NBS> character from the default locale settings of the Digit Grouping of the Regional and
Language Options dialog.
If you change this character, iBase will not allow you to type it in (using the key combination Ctrl+Shift
+Space). To re-enter this character, copy it from another application such as Microsoft Word, or from
the Regional and Language Options dialog and then paste it into the Thousands separator box.
Importing pictures
When you are importing from text files, you can import referenced pictures if the picture file
accessible and you assign the file to a Picture field. For example, in the User Guide database, the
Person entity has a suitable field.
When you are specifying picture files in a data file:
• If the picture file is in the same folder as the data file, use a name with the appropriate extension.
For example, you can use: Hoffmann.bmp.
• If the picture file is stored in another location, use the full path. For example, assuming that the
drives, folders, and files exist, you can use: C:\photographs\smith.bmp or \\server-name
\folder\CARTER.BMP
You can import files in which only some of the records have a picture. Records without a picture need
to include a pair of field delimiters with nothing in between to indicate the empty value.
Exporting pictures
When you export data that contains pictures, each picture file is saved in the same folder as the
export file, and in its original file format. The files take the same name as the export file.
Importing documents
You can import document files in a similar way to pictures by placing a reference to the file names in
the data source and assigning the source field to an iBase field of type Document.
Exporting documents
When you export data that contains documents, each document is saved in the same folder as the
export file, in its original file format, with the same name as the export file.
List records
You can list the records for a selected entity or link type so that you can review and modify the data.
In a records list, all the field values are shown including the label for the entity or link type as defined
in the default labeling scheme.
To list the records for an entity or link type, right-click the entity or link type and select Records. The
first 100 records in the database, or case, or set are displayed with the actual number that is shown in
the lower right. To change the number of records displayed, enter the required number in Number of
records to be displayed, and then click Refresh.
The display is limited to the first 40 fields. To see more fields, either open a record, or Browse records.
You can sort the records by the values in specific columns or change the order of the columns.
Note: You cannot select which records are listed; to create lists that include specific records, use
Find, Query, or Show Records.
To work with the entity or link records in the list. Select one or more records, and:
• Right-click and select an action from the menu. For example, select Add to Set to save a group of
records to a set, or Show Records to further compare a selection of the records.
• Use the Copy to Clipboard and then paste the records into another application. Each record
becomes a separate paragraph in a document or a separate row on a spreadsheet.
Note: From time to time, you might need to click Refresh to update the list of records. For example, to
remove deleted records from an open list or display updated values.
Browse records
You can generate a list of entity or link records in the database (or case) that shows just the record
label and any specified fields. If required, you can save the field specification as a browse definition
that you can use again later, or run automatically whenever you open the database.
Procedure
1. Right-click on Browse Definitions and select New.
Tip: You can open existing definitions by listing the browse definitions and double-clicking a
browse definition to open and run it.
2. To change the browse definition, click Configuration to display the Configuration area.
3. From the Browse the item type list, select the type of entity or link.
4. Specify the source of the records:
• Records - browses the whole the database or case. You need to enter the maximum number of
records to list.
• Query - browses the results of a query, which you need to select; you can only select from
queries that output records of the specified type.
• Set - browses the records that are contained in a set. You need to select a set; you can only
select from sets that contain records of the specified type.
5. Select the Fields to display, and the Sorting order of those fields.
6. Click Browse to list the current matching records.
7. Optional: To set up a browse definition to run automatically as soon as you open the database,
select Autorun.
8. Click Save or Save As to save the browse definition. You might be prompted for a category and
access control settings.
Procedure
You can either view this on screen or print it:
1. Run a browse by listing the browse definitions and double-clicking a browse definition, and select
the required records.
2. Click the Print toolbar button.
3. Decide how you want to display the selected records. For example:
Option Description
Header The first label for the entity type will appear at the top of every page. To change
this, edit the text in the Header box.
Footer The name of the database will appear at the bottom of every page. To change this,
edit the text in the Footer box.
Hide Record The labels from the default labeling scheme will appear in the report (three labels
Label if you are browsing link records). To hide these, turn on the Hide Record Label
check box. You can only hide these if you have included one or more fields in the
browse definition; see Setting up a browse definition for details.
4. Click OK to generate the report.
Procedure
1. Select Analysis > Browse > Autorun Definitions.
2. Select the browse definitions you want to run.
Compare records
You can compare two or more records that are selected as a result of other operations, such as
browsing, finding, and querying. Each record is identified by its label - the format of the label is
defined in the current labeling scheme.
You can review the values of each record, and then open the selected record or use it in other
operations, such as adding the entity or link to an Analyst's Notebook chart.
You can:
• Double-click to display a record directly or as a data sheet (depending on the default for the entity
type).
• Copy the record details. For example, press Ctrl+C to copy the selected text, ready for pasting into
another application.
• If you want to start other operations for one or more of the records, select one or more records,
right-click, and select an action from the menu.
Starting other operations with the entities and links on the chart
You can work with the entities and links shown on the chart:
Populating cards
Analyst's Notebook items can contain the details of an iBase record as a card. Adding iBase
information to an Analyst's Notebook chart allows that information to be accessed by anyone who has
access to the chart.
Procedure
To put the relevant entities onto a chart and populate the cards using data from the iBase records:
1. Add the required data to the Analyst's Notebook chart.
For more information, see “Searching iBase” on page 187.
2. In Analyst’s Notebook, select Edit > Select All.
3. On the Selection page of the Data Sources Task Pane , click Populate Cards.
Tip: Alternatively, right-click on one of the selected chart items and from the shortcut menu, select
database > Populate Cards, where database is the name of the iBase database.
4. Save the chart. You now have a saved chart, with populated cards.
5. To check that the cards are now populated:
a) Right-click on one of the chart items and select Edit Item Properties.
b) Select Cards > Card1: entity_name to display the contents of the first card.
Show, Show There are three ways of opening and viewing a record:
With, Show
• Show - displays the selected record, either in the show record view, or the
Records
default data sheet.
• Show With
– Select Show With Show Record to display the selected entity.
– Select Show With datasheet name to use the indicated data sheet.
• Show Records - lists two or more records so that you can compare the
selected records and browse their field values.
Show History Displays the audit history so you can view the changes to the current records
and find out who made those changes.
Note: Only available in databases that are set up to use this feature. See your
system administrator.
Links View the links and the link end entities for the selected record.
Matching Finds any records that match the selected record, and then displays them. iBase
Records searches for matching records using the fields that are defined as discriminators
in the entity type.
Note: It might take a while to retrieve and display the records. To pause the
retrieval, press the Esc key.
iBase Link Chart Shows the links and link end entities for the record in an iBase Link Chart.
Add to Set Adds the selected records to a new or existing set.
Set Membership Lists the sets to which the record belongs.
Create Report Sets up the report wizard to create a report on the selected record. It uses the
default report definition for the entity type selected (if there is one).
Add Alert Monitor activity on a record or changes to the results of a query by adding an
alert.
Note: Only available in databases that have been set up to use this feature. See
your system administrator.
Properties Shows the properties for the selected record. These include the record's system
properties such as its creation date, the name of the user who created it, and its
record identifier (unique record number).
Listing records
You can list the records for a selected entity or link type so that you can review the data and take
action as required. All the field values are shown, as well as the label for the entity or link type as
defined in the default labeling scheme.
Procedure
1. In the left pane of the Database window, select an entity or link type.
2. Right-click and select Records.
The records of that type are displayed. You can sort the records by the values in specific columns
or change the order of the columns.
3. To change the number of records that are displayed, enter the number of records in the Number of
records to be displayed box, and then click Refresh.
Note: If there are a very large number of records, you may prefer to use a different method of
viewing the records. For example, by using Find or Query in iBase.
4. To copy the information about records in the list, select the required records, and click Copy to
Clipboard. You can then paste the records into another application, such as Microsoft Word or
Microsoft Excel. Each record becomes a separate paragraph in a document or a separate row on a
spreadsheet.
Procedure
1. Select one or more records from a list.
2. Right-click and select Add to Set.
3. Choose whether to create a set or append the records to a set:
Option Description
Create new set using the name Enter the name of the set.
Append the records to the set Select the set from the list.
4. Click OK.
Managing sets
The sets that are already in a database are organized into categories, and can be restricted using
access control. You can manage the sets you have access to.
Procedure
1. Select Sets > All Sets > Category to list the sets in the category.
2. Select a set in the list, right-click and select:
Option Description
Open Lists the records in the set.
Rename Enter a new name for the set.
Save As Save a copy of the set under a new name.
Delete Delete the set.
Categorize Move the sets to other categories or set access control on them.
Combine Adds the contents of two sets to another set.
Analyze Looks for common or unique records between two sets.
Properties Show the properties of the set, such as its creation date, user, and access type.
Records Lists the records in the set. There is a separate page for each entity and link type in
the set. Click Refresh if you add or remove records in the set.
3. With an open set, you can:
Tip: With two sets open, you can also drag records between sets.
Combining sets
You can combine the contents of two sets to isolate the records that you require. The resulting
combination is placed into a new set.
Procedure
You can specify how the records in two sets are combined to form a new third set:
1. In a list of sets, select two sets, right-click and select Combine.
2. Select how to combine the sets from the list:
Option Description
Include all records from both sets Combine the full contents of the sets.
Include all records from set A only Create a copy of set A.
Include all records from set B only Create a copy of set B.
Include records from set A that are not also Create a subset of set A that excludes records
in set B that are also found in set B.
Include records from set B that are not also Create a subset of set B that excludes records
in set A that are also found in set A.
Include records from set A and set B that Create a set of the unique records in both sets.
are not also in both
Include records that are only in both set A Create a set of the common records between the
and set B sets.
Note: The Venn diagram illustration of the selected criterion helps you visualize the results.
3. Enter the set name in Set C.
4. Click OK to create the set. You might be prompted to specify a category and access control for the
set.
Chapter 5. Sets 85
Analyzing sets
You can find the links and entities that are common or uncommon to a group of sets. Looking for items
in common provides information that might otherwise be overlooked.
Procedure
To analyze sets:
1. In a list of sets, select the sets to analyze, right-click and select Analyze.
2. In the Analysis Type area, select:
• Common Records- find records that are in all the sets.
• Uncommon Records - find records that are not in all the sets.
3. Optional: Change the list of sets to analyze by clicking Add and Remove.
4. Click Results to find the common or uncommon records.
5. To work on the records in the results list, select one or more records, then right-click and select an
action.
Procedure
1. Select a single record, for example in the Records or Browse dialog.
2. Right-click and select Set Membership.
3. To view the other contents of a set, right-click on the set and select Records.
If you are working in a Microsoft Access database, then you can use these tools in place of Search
360:
The results returned by these search methods will depend on whether the database uses cases.
Procedure
To find items:
1. In the Database Explorer window, right-click on an entity type or link type and select Find.
You can change the entity type or link type by using the list provided.
2. Optional: To restrict the fields available for selection, turn on Indexed fields only.
3. Enter the values that you are interested in.
4. Click Find. The results are listed in the bottom pane.
5. You can check each record displayed in the record list by selecting it and viewing its details.
6. To work on one or more of these records, select the records, right-click, and select an option from
the menu. For example, add the records to a set.
Procedure
To select one or more records:
1. Specify the entity type or link type of the records you want to select.
You might find the options are restricted. For example, when you select a record for a link end, the
options are restricted to the allowed entity types at the ends of the link type.
2. Specify the field values.
You do not need to specify the whole value for a field, and you can use wildcards.
3. Click Find.
4. Review the records found. For example, in the record list, select each record to check its field
values.
5. In the record list, select one or more records and click OK to confirm the selection.
Search 360
You can use Search 360 to find records that contain the same text as your search words. All records in
the database are searched, including records that contain embedded documents and charts.
When you search for exact matches, the following allowances are made:
Variation Example
Letter case For example, Peter, peter and PETER are
exact matches.
Punctuation and accents Francoise is an exact match for Françoise
Word order SMITH, Fred and Fred SMITH are exact
matches.
Incidental words "black pullover red baseball cap" is an exact
match for a record with this text "wearing a black
v-neck pullover and a red baseball cap"
You can also use Search 360 to find records that contain similar text to your search terms (a fuzzy
match). In this type of search, the following allowances are made:
Variation Example
Typing mistakes Searching for ROBERTSON might also find
ROBETRSON.
Missing spaces between words Searching for Daniel might also find
Danielsmith.
Procedure
To start a search:
1. In the search bar, enter the words that you want to search for and press Enter.
The results are displayed. The results with the strongest matches are listed first and the matching
terms are highlighted in yellow. However, what is meant by "matching" depends on how the search
options are set. Click Advanced to set the search options.
For instance, here are the results of a search for "Michael Peterson", with the best match first:
Results
The number of results and their type is shown.
Note: By default, Search results are limited to 100. To change the maximum number of records
displayed, click Advanced, turn on Limit number of results, and then enter the required upper limit.
Exact searching
In an exact search, you are searching for records that are an exact match to your search terms. For
example, an exact search for Ford Thunderbirds will not find results that contain Ford
Thunderbird (singular).
Procedure
To do an exact search for one or more words:
1. In the Search 360 dialog, click the Advanced button.
2. Turn on Exact matches and turn off the options in the Include area.
3. Enter the exact words, and any related items, that you want to search for.
4. If your search is for two or more words, select one of the following:
• Strong matches only to find the matches that contain all your search words (but not
necessarily in the order you gave them)
• Include weak matches to find partial matches, for example a search for Ford thunderbird
might match on the word Ford, leading to results that include other types of Ford as well as
unspecified Fords
Tip: To search for both the single and plural form of a word, enter both forms of the word and
select the Include weak matches option.
Fuzzy searching
In a fuzzy search, you use various techniques to find records that might match your search words.
How useful the techniques are depends on the language of the text.
Procedure
To do a fuzzy search:
Procedure
To search for additional items:
1. Select Analysis > Search 360
2. Select the plus button next to the search to display the Related item search.
3. Enter the words you want to search for.
4. Click Add to insert the related item in the search box, separated with a semi-colon.
5. Repeat this step for any other related items you want to search for. These items must be directly
connected to the first item listed in the search box.
6. Click Search.
Note: You can enter a related item directly in the search box by entering your original search term
followed by a semi-colon (;) and then the related item term (consisting of one or more words).
Separate each related item with a semi-colon.
Word search
You can find the records anywhere in the database that contain specified text by using a word search.
You do not need to know which field the text might occur in.
In addition to finding specific words you can also use the following to broaden your search:
Synonyms - words that have the same meaning
Synonyms are lists of words such that whenever you specify a particular word to search for, all the
relevant words on the synonyms list are also searched for. The synonyms list might contain all the
words that have the same meaning; for example, synonyms for Firearm might be: Firearm,
Shotgun, Rifle, Hand gun, Revolver, Pistol. The lists are pre-defined in the database design, so you
cannot change them here. However, you can see which synonyms are searched for.
Soundex - words that sound the same
Soundex means that words that sound the same as your specified word are also searched for. For
example, using Soundex you might specify 'check' and find 'cheque'.
Procedure
1. Select Analysis > Full-Text Search.
2. Select the type of search:
Option Description
Word Use the Word Search page to search for specific words.
Phrase Use the Phrase Search page to search for specific phrases or inflections.
Fuzzy If you do not know what exact combination of words or phrases to search for, use Fuzzy
Search. For example, if you want to specify a sentence and find something with a similar
meaning.
3. Enter one or more words to search for. Separate words with spaces. You can use the wildcard * or
%, at the end of words, to match any number of other characters (including no characters).
Note: You can search for words that contain punctuation and currency symbols if you use an exact
match but not for words that start or end with these symbols.
4. In the Combine area, select either:
• And (all your specified words must be present for a match)
• Or (only one of your words need be present for a match).
5. In the Type area, select either:
• Normal For a standard search.
• Soundex To include similar sounding words.
Note: Soundex does not operate on document type fields (embedded documents) or use
synonyms.
6. Optional: In the Synonyms area, turn on:
• User Defined - A list of words appears whenever any member of that list is specified in the
search terms. All of these words are searched for, in addition to the specified words.
• Person Name Variants - When searching for people in the database, you can search for
different versions of common names. For example, a person in your database might have a
given name of Bob. Searching for "Robert" would also find "Bob", "Bobby", "Roberto", and "Rob"
as all these names are defined as variants of each other.
Note: The list of name variants is fixed. Name variants are updated by your database
administrator.
7. Select which fields you want to search:
• All to search all the indexed fields in the database, and also all Document type fields.
Results
In the list of records found by the search, you can:
• Select each record to check the field values. The word or phrase will be highlighted if you turned on
the Highlight Words Found check box before running the search. If the word occurs in an embedded
document, then the name of the document field is highlighted in red (Word Search page only).
If the text is in an embedded document, you need to show the record and then view the embedded
document:
1. Right-click on the record, and select Show.
2. Right-click on the Document icon, and select View. The application for the document type starts
and displays the document, you must have the appropriate application installed for the
document type. For example, you cannot view an .xls file if you do not have Microsoft Excel
installed.
• To work on one or more of the records, select the records, right-click and select an action. For
example, it might be useful to add records to a set.
Procedure
To find matching entity records:
1. Right-click the record in a record list and from the menu, select Matching Records.
2. Turn on the checkboxes next to the fields you want to check for matching values.
3. Click Find to start the search.
Note: You can pause the search at any time by pressing the Esc key or clicking Pause.
4. When the search completes, select a record so that you can check the field values in the Details
box.
5. To work further on the records, select one or more records, right-click and then select a menu
command from the menu. For example, select Add to Set to add the records to a new or existing
set.
What to do next
You can work with the records listed:
Item Task
The main entity or link Select a toolbar option:
• Show Records - to show, edit, or delete the
main entity or link:
• Links - for entities only, list full details of the
links from the main entity, and its link end
entities.
• iBase Link Chart - for entities only, show the
main entity, its links, and linked entities on an
iBase link chart.
Procedure
1. Select Analysis > Duplicate Records Checker.
If the Duplicate Record Checker option is not shown, you need to activate the plug-in (Tools >
Plug-in Manager).
2. In the Duplicate Records Checker, select the entity type or link type.
3. In the Source area, specify the records that you want to check the entity or link type against:
• All records- check against any value in the database.
• Query- check against the records included in the results for a specified query.
• Set- check against the records included in a specified set.
4. In the Fields area, turn on the fields that you want to use in the comparison.
You must select at least one field. Initially, the discriminator fields are selected but you can turn
them off (and your selection will be remembered for the next time you use the Duplicate Records
Checker).
5. If you are working on links, you can:
Procedure
To merge duplicate records:
1. In the Records area of the Duplicate Records Checker, select the records that you want to merge.
2. Click Merge to display the Merge Entities with the selected records. The first record that is
selected in the Records area of the Duplicate Records Checker is shown in the 'Merge the records
below into this record' area of the dialog.
3. If the wrong record is displayed in the upper area of the dialog, select a different one from the
lower area and click Use.
Tip: To examine the records in a group of potential duplicates, or use them in a different operation,
select the required records in the Records area of the Duplicate Records Checker, right-click and
then selecting an option from the shortcut menu. For example, you might want to investigate a
single matching value by selecting Matching Records.
Wildcard characters
Wildcard characters can be used to represent non-specific characters in searches. All searching aside
from Word Search can use wildcards, words that include wildcard characters are not included in the
Word Search index.
Wildcard characters can be included in search terms:
If you do not want a wildcard character to represent other characters, enclose it in square brackets.
For example,:
fin*me finds findme
Whereas:
fin[*]me finds fin*me but not findme
Existing queries
You can set up and use queries that cover regular searches. Using stored queries ensures that the
same search parameters are used each time that a query is run.
Rerunning a query
To rerun a query, click Refresh on the Results page of the query.
If any of the entities or links have a parameterized condition, you can enter new values.
Results of a query
You can work with the records found by running a query:
1. On the Results page of the query, select one or more records.
2. Right-click and then select an action from the menu. For example, select Add to Set to save the
results of the query. This is a convenient way of keeping a permanent record of the results of the
query for this point in time.
Note: From time to time, you may need to click Refresh to update the list of records. For example,
until you refresh the list, a record that you have deleted will remain in the current list, or the old
data for a record will be displayed.
Defining a query
A query is constructed in two parts, a structure that defines the record types of interest, and
conditions that define exactly which records are retrieved. When you have defined a query, it can be
saved for future use.
Procedure
To define a simple query, you need to draw a structure diagram containing the entity and link types
that you want to query:
1. Select one of the entity types (or 'any type') in the Query palette and drag it into the empty pane on
the right. The entity type will be shown with an output symbol next to it. This means that records
for this entity type will be included in the results of the query.
If the symbol is not displayed next to the entity type, you need to add it because at least one entity
or link type must be set as output:
Parameter Represents...
@#USER The logged-on username.
@#NOWDATE The current date.
@#NOWDATE +N/-N The current date. You can include + N which
represents a date ' N' days in the future, or - N
which represents a date ' N' days in the past.
@#NOWTIME The current time.
@#NOWTIME +N/-N The current time plus or minus a specific number
of hours. You can include + N which represents a
time 'N' hours in the future, or - N which
represents a time ' N' hours in the past.
List of operators
Operators are available when you define the conditions for a query. The available operators depend
on the type of field. For example, 'Yes or No' fields use a different range of operators to 'Text' fields.
Ends with, For example, to find all license plates that end
with the letters EW (the letter case is ignored):
Doesn't end with
ends with ew
To find values that start with a specific value and
ending with the letters EW, you would need to
use wildcards.
Starts with, Finds all records that contain fields that start
with a specified value.
Doesn't start with
Note: To find values that start with a specific
value and contain or end with other values, you
need to use wildcards.
Less than, Finds all values less than the specified number.
To include the specified number in the results,
Less than or equal to use the operator less than or equal to.
Outside The opposite of the between operator. For
example:
outside 10 50
Day is, Finds all dates that fall on the specified day of
the week (day is) or dates that all on any day of
Day isn't the week other than the specified day (day isn't).
Different to Finds records with any date or time value other
than the entered value. This is equivalent to not
equal to.
Year is, Finds records with the specified year (year is) or
any year other than the one specified (year isn't).
Year isn't
You might set 'more than 15' on the link to limit the results to telephones that have more than 15 calls
between each other. Each telephone in the results is involved in at least 15 calls with one other
telephone in the results.
With these counts, you can see the effect of non-distinct and distinct count queries:
• Working with an Access database, you can only specify a non-distinct count condition. A query
based on searching for more than two telephones and counting repeated links to the same
telephones is effectively a search for more than two telephone calls and would find 210 321 2134,
876 352 0441, and 520 325 2333.
• Working with an SQL Server database, you can specify a distinct count condition. A query based on
looking for links to more than two different telephones would find only 210 321 2134.
Note: A non-distinct count is shown with an asterisk, as in Count*.
To create a query involving a distinct count, turn on the Distinct check box.
To run the query, you must enter a value for all the parameterized conditions.
Available parameters
You can use the following parameters:
Parameter Description
@ There will be a prompt for this field value when
the query is run.
Procedure
To search entities that are assigned a particular semantic type:
1. List the available semantic types by either:
Procedure
To search links of the same semantic type:
1. Create a query by dragging two entity types into the query structure area on the right.
2. From the link type list, select {Semantic Type}.
The available link types depend on the selected entity types. It is possible there might not be any
link types available (if the two entity types are not valid ends for a link type). If so, {Semantic Type}
is not available to select.
3. The pointer changes to a plus sign to show that you can add a link. Drag the link from one entity to
the other.
4. Select the required semantic type from the tree view.
5. Select the required option from the Match Option list.
6. Continue to construct the rest of your query as usual.
Procedure
1. Drag two {Any Entity Type} icons into the query structure area on the right.
2. From the link type list, select {Semantic Type}.
3. The pointer changes to a plus sign to show that you can add a link. Drag the link from one entity to
the other.
4. Select the required semantic type from the tree view.
5. From the Match Option list, select the required option.
6. Continue to construct the rest of your query as usual.
Procedure
To search fields of the same semantic type across all entity types:
1. Drag the {Any Entity Type} icon from the Structure area onto the pane on the right.
2. In the Conditions area, click the first line of the table below the Field heading and select <semantic
type...>.
All the property semantic types for semantic entity types are displayed.
Some of the property semantic types that are listed might not be assigned in the database, but are
the parents of types which are assigned. For example, Person First Name and Person Last Name
may both be assigned, so Generic Name (their parent type) is included in the list.
3. Click a property semantic type to view more information about the selected type. If you know the
name of the type you want, you can locate it quickly by typing the first few letters of any word in
the property name in Search Available Semantic Types. As you type, possible matches are
displayed.
If the word matched is part of a semantic type name with several words, the full semantic type
name is shown in brackets. Select the semantic type that you want in the list. It will also be
selected in the main tree view.
Scope
The scope of a query is all the entity types, link types and fields that have been searched. Each entity
type and link type, and any fields within that item type that were searched in the query can be shown.
Listing the scope of a query is useful when you have a run a query that uses semantic types. You
might not know before you run the query which entity types, link types or fields are assigned the
semantic type selected in the query.
Procedure
To select an entity or link semantic type:
1. In a query, right-click an item and select Semantic Type.
2. Select the required semantic type from the tree view.
3. You can widen your search by changing the text that is displayed in Search Available Semantic
Types:
Option Description
Shorten the displayed text "Documents" to "Document"
Simplify the displayed text "End date" to "date" or "end"
Consider alternative spellings "tire" to " tyre"
4. If none of the semantic types in the Ordered Results area are suitable, you can browse the
semantic types that are displayed in the tree view.
5. From the Match Option list select the required option:
Procedure
To select a property semantic type:
1. Drag an entity type from the query palette.
2. In the Conditions area, select Semantic Property
3. Select the required semantic type from the tree view.
4. If you know the name of the type you want, you can locate it by typing the first few letters of any
word in Search Available Semantic Types. The list of matching properties is updated in the
Ordered Results area as you type more letters.
5. Click OK.
Managing queries
A list of all the queries in a category can be displayed. Categories are represented in a hierarchy that
you can expand and collapse.
The list displays information on when the queries were created and updated, who created and
updated them. You can sort the queries by clicking the required column heading.
To administer the queries for your database, right-click on a query and then select:
Procedure
To select a query or set:
1. In the pane to the left, navigate to the category that contains the query or set you want to select.
2. In the window to the right, click to select a set or query.
Only the sets or queries that contain the selected entity type are listed.
3. Click OK.
Tip: Move the mouse pointer over the name of a query or set to view a tooltip containing more
information about it, if a description for that query or set has been entered.
Procedure
To use scored matching:
Procedure
1. In the Field Calculator, specify an item type by selecting it from the list.
Procedure
1. Select Analysis > Coordinate Query Builder.
2. Select the entity or link type that contains the coordinate data.
3. Select the Coordinate type field. This will typically be selected automatically, as there is usually
only a single Coordinate field for each entity or link type.
4. In the Source area, specify which records you want to include in the coordinate query.
5. In the Query Operator area, select the required operator:
• Is near - finds records with coordinate data that is within a specified distance of a location you
enter. Enter the location using coordinates and then specify the required distance and units.
• Is between - finds records with coordinate data that falls within a rectangle whose corners you
define. Enter the two sets of coordinates to form the corners of the search area.
6. In the Coordinates area, enter the coordinates
If you selected 'Is near', enter one set of coordinates and then enter a value in the Tolerance box
and the units for that value, for example kilometers or miles. This value is used to calculate the
distance from the entered coordinates.
The Tolerance is calculated by adding the specified distance to both the horizontal (longitude) and
vertical (latitude) part of the coordinates to create a square with the original coordinates in the
middle. Any record with coordinates that are located within this square is found.
If you selected 'Is between', enter two sets of coordinates. These coordinates form two corners of
a rectangle. Records with coordinates that fall within the defined square are found.
7. Click Next to create the query.
8. Click Results to run the query.
Procedure
1. Find the record or records you are interested in.
2. Right-click on the records, and from the shortcut menu, select Add Alert.
3. Enter a unique name for the alert definition and an optional description. The name of the alert
definition is used every time that an alert is sent to the subscribers of this alert.
4. Decide what the alert definition is monitoring by turning on the check boxes in the Alert when area.
These definitions raise alerts when:
• Records are viewed
• Records are edited
• Records are no longer found
5. If required, set an expiry date. No further alerts will be sent after the expiry date.
6. Click Save. The alert definition is listed in the Alert Definitions area of the Database Explorer.
Note: As the owner of the alert definition, only you or the system administrator can edit or delete
the alert definition. If other users do not want to receive alerts, they can unsubscribe.
Procedure
1. Find the Query that you are interested in (it must not be a parameterized Query or a semantic
Query).
2. Right-click on the Query, and select New Alert.
3. Enter a unique name and an optional description. The name of the alert definition is used every
time that an alert is sent to the subscribers of this alert.
Procedure
1. In New Alert Definition, select Select Users. Any existing subscribers are listed on the right.
2. Select the users to receive the alerts.
3. Click OK.
4. Specify the type of alert that each subscriber receives. You can choose that the user is alerted
when they open the database (an iBase alert), that they receive an email, or both. Both alert types
also display in the computer's system tray.
Procedure
1. In the Alerting dialog, select Alert Definitions to list the alert definitions that you own.
2. Click Edit to open the Alert Definition in an editable form.
Note: Alternatively, click Delete to remove the alert definition entirely and prevent any further
alerts from being generated.
3. Make your changes:
• To modify the subscribed users, click Select Users and add or remove the users.
• Use the Duration options to change the duration that the alert definition is active.
• Modify the alert definition. For more information on the available options, see:
– “Adding alert definitions on records” on page 127
– “Adding alert definitions on queries” on page 127
4. Save your changes.
Procedure
1. In the Alerting dialog, select Alert Definitions.
2. Select Clear Alert Data.
A message displays informing you of the consequences of this action.
3. Select Yes to confirm that you would like to proceed.
Receiving alerts
When an alert is generated for a Query or record that you are interested in, you are notified in the
status bar. When you receive an alert, you can open the details, mark the alert to be followed up, or
delete the information.
Alerting inbox
To view all your alerts in the Alerting Inbox, in the Database Explorer, right-click Alert Definitions >
Inbox. Alternatively, you can open the inbox from the Alerting status bar.
Details of alerts
When you are notified about an alert, you can open the alert details to discover more information. The
records that triggered the alert are listed, along with the reason the alert was made.
Note: Security changes can mean that the records that are covered by an alert are no longer available
to you. In this situation, the records are displayed without their icon, and no details are displayed.
The following details are available in the alert summary:
Views A view is defined as an instance in which the records details are loaded. For
example:
• Listing the record and then opening the details is counted as two views.
• Finding a record and then showing it counts as three views: it was viewed in the
record list, again in the Find details pane, and again when the record is shown.
For details of who viewed a record, and when, select the record in the alert, and
click Views.
Edits An edit is defined as an instance in which the records details are changed. Notice
that:
• Adding or removing a link counts as one edit.
• Editing several fields in the record in the same session counts as one edit.
• Clicking Edit and then canceling counts as a view and not an edit.
For details of who edited a record, select the record and then click Edits.
When you select an edited record, the details of the changes are displayed. If an entity or a link was
added, the full record is shown, for edits, only the changed fields are shown.
Information shown...
Field Name The old and current values for the fields in the
entity or link.
Some information might be displayed that you do not usually see. In particular:
• Alternative icon representation shows the name of the new icon if a different icon is assigned to an
entity type. This representation applies to entities that do not have an icon field.
• Icon Color shows the selected color shade if the default icon color was changed.
• Record Status is Normal unless the record is deleted (soft deleted and can therefore be restored) or
Purged (permanently deleted).
When the change is a new, updated, or deleted link, the header, which is displayed in the blue band,
summarizes the link details. For example:
• New Link: Shareholder[SIL31\GEN]
• Link Updated: VERMILLION Janet[PER:GEN\159]
For a new link, the New Value column lists:
• Entity type of the link end entities (Entity Type End 1 and 2)
• Link type
• Link direction and strength
• Record ID of the link
• Record IDs of the link end entities (Record ID End 1 and 2)
If a link is updated, only the changed fields are listed. For deleted links, only the changed status is
listed.
Note: If the alert definition is monitoring a linked entity, changes to existing links are not reported
because these changes are not directly changing to the entity.
Filtering by user
If several users edited or viewed the record within the time interval, then it can be useful to filter the
details by user:
• From the Show Edits list, select the user name. Select by all users to display the full list again.
Producing reports
You can produce a report on entities and links in the database. Before you can produce a report, you
might need to define its contents and appearance in a report definition.
Procedure
1. Open the Report wizard:
• In the toolbar, click Create Report.
• In the Database Explorer, right-click an entity type, and from the menu, select Report.
• In a record list, right-click a record, and from the menu, select Create Report.
2. Select the report definition and the data:
a) Select a report definition from the list.
Some details of the report definition are displayed below the list:
Hyper Text Markup Language (HTML) The report is saved as an HTML file (.htm file)
and can be viewed in a web browser. It is also
displayed in the iBase report viewer (but the
viewer displays the path to the graphics file
instead of the actual picture).
Rich Text Format (RTF) The report is saved as a rich text format file
(.rtf file). It can be displayed in the iBase
report viewer, where you can print it or copy
pages.
Reporting in HTML
You can share your iBase reports using your organization’s intranet, or the internet. To do this, you
need to have your data in HTML (HyperText Markup Language) format.
You can specify some limited formatting of the report data using the options available in the report
definition.
If your report includes pictures, they are associated with the report using links; to make the report
viewable on other computers (portable) you need to save the report using Internet Explorer, while
iBase is still open, to establish the links correctly.
Note: To take full advantage of the features of HTML, you will need to understand how to work with
HTML using a specialist HTML editor or a text editor such as Notepad.
Making sure that icons and pictures remain linked to the HTML file
If you want to make your HTML file portable, such that links are established to the icons and pictures
referenced in the HTML file, you need to save the file in your browser before you exit from iBase.
Continuing from the previous steps:
1. Find the HTML file and open it using a web browser.
2. Select File > Save As and specify a new path - you must save the file in a different folder in order
to resolve the links.
3. Close your web browser.
4. You may now close iBase if you wish.
You have created a file with all the linked graphics in a separate folder (named after the name of the
HTML file). To move or copy the file, you must also move or copy the folder containing the graphics.
Defining a report
Before you can produce a report, you need to define the content and appearance of the report in a
report definition. You select the report definition to produce the report.
Procedure
To define a report definition:
1. Select Format > Report Definitions > New.
2. Select the entity type.
3. Click a tab to define the report details and output format.
4. Save the report definition.
5. Click Create Report to test the report definition.
Option Description
Title Click the Title box and enter, or edit, the text for
the title. Click Font to select a different font for
the title.
Header, Footer Click the Header or Footer box and enter, or edit,
the text for the header or footer. In the Header
area, click Font to select a different font for both
the header and the footer.
By outputting the report to Microsoft Word, you
can define separate Header and Footer styles.
Truncate long text fields to You can limit the values to a specific number of
characters (in multiples of one hundred) by
turning this on.
Default font Displays a preview of the font for the main body
of the report. To change this, click Font and
select a font. When you output the report to
Word, this font becomes the font for the Normal
style.
Orientation Set the page orientation by clicking Portrait or
Landscape.
Page break after each entity record Turn on if you want to start a new page for each
section for the main entity.
Indent Links To help the link records to stand out better, turn
on Indent Links.
Default Microsoft Word template Turn on Default Microsoft Word template and
select a document (*.doc) for use as a template
when outputting the report.
Only documents in the same folder as the
database file, with a name starting with the
database name are available. For example, if the
status bar shows the open database as being
C:\Databases\Vehicles\Vehicles.idb, then you
could use C:\Databases\Vehicles\Vehicles
Template 1.doc as a template.
Turn on Auto-size List Tables (Microsoft Word)
to allow the width of the List table in the report to
be automatically adjusted based on its contents,
rather than use the table width set in the
template.
Procedure
1. Click the Entity tab and then the Fields tab.
Procedure
To add a link type/link end entity type to the report definition:
1. Click the Links tab to display the Links page.
2. Click Add to add a link type/linked entity type combination. The Add Link dialog is displayed:
a) From the Link list, select a link type— only valid link types for the main entity type are listed.
b) From the Link End list, select a link end entity type— only valid entity types for the main entity
type/link type combination are listed.
This means that when you run the report only records for the selected main entity type, link
type, and end entity type records will be added to the report.
3. If required, enter some text in the Title box to describe the relationship of the entity type records
to the main entity.
4. Click OK.
You are warned to select at least one field for the link type and end entity type combination that
you have just added.
5. Set the sort order for the link type and link end entity type combination, and select the formatting
style.
Note: To indent the link records under the main entity record, go to the General page and turn on
the Indent Links check box.
Procedure
To define how the data is sorted:
1. Click the Entity tab or the Links tab, and then the Sorting and Formatting tab to display the Sorting
and Formatting page.
2. Turn on or off the sorting options:
Option Description
Option Description
Sort by In the Sort by drop-down list, select the field that you want to sort by.
Records in the report are sorted first according to their value in this field, in either
ascending or descending order:
a. Click Ascending to sort a before z, and 1 before 9.
b. Click Descending to sort z before a, and 9 before 1.
Then By In the Then by drop-down list, select the next field that you want to sort by. If there is
no suitable field, select <None> from the drop-down list.
Records that are placed in the same position by the primary sort are then sorted
according to the field that you select here.
Then By If required, in the second Then by drop-down list, select another field to further sort
the records or select <None> from the drop-down list.
Records placed in the same position by the primary and secondary sorts are then
sorted according to the field that you select here.
Procedure
To define the format for individual records:
1. Click the Entity tab or the Links tab and then the Sorting and Formatting tab to display the Sorting
and Formatting page.
2. For entities only - if the field details are insufficient to identify the entity, you might want to turn on
Show entity record labels on the Entity page. This adds the record label as a title to the beginning
of each section of the report.
The record labels use the same font as the body of the report. To change this, click Font and select
a font.
3. In the Format area, specify how records are to be laid out on the report:
Option Description
Tabular The tabular format uses a row for each record and a column for each field.
This is useful when you are reporting on many entity records but only a few
fields.
List The list format uses a subsection per record and a row per field.
This is useful when you are reporting on few entity records but many fields.
Include Icon In the list format only, turn on this checkbox if you want to place the icon for a
record at the left end of the record.
Include blank In the list format only, turn on this checkbox if you want to print a row for a field,
data values even if the value is blank.
Note: Does not apply to time-based fields.
Include 'No' In the list format only, turn on this checkbox if you want to print a row for a Yes
data values or No type field, even if it has a No value.
Note: There are also some formatting options on the General page, for example to insert a page
break before each entity record, or to indent the link records.
Document templates
You can use templates to produce consistent reports in your chosen style. The easiest way to do this
is to create a simple report and change the settings, formats, and styles for your requirements.
Procedure
To create a template:
1. In the report wizard, enter the details of the report in the usual way. Set up a simple report based
on a single entity type and the required link types.
2. On the second page, in the Output to area, select Microsoft Word and then specify a file name and
location. You can choose any location and file name that has the .doc file extension.
3. Turn on Open report when complete to specify that you want to start Microsoft Word as soon as
the report is ready.
Template styles
A Microsoft Word report is based on a number of special styles. You can modify each of the styles to
change features such as fonts, paragraph spacing, and indentation. This gives you finer control over
the styles than can be achieved with the normal report definition.
Styles are arranged in a hierarchy in iBase reports to allow you to make changes at the highest level
possible so that changes are reflected in all lower levels. For example, the default font that is
specified in the report definition is used to set the font for the Normal style. All other styles are based
on Normal so that you can change the font for Normal and that change will be reflected throughout
the report. Changes can be made to all entity data or to all linked data, however you can also change
the format of any individual component of the report.
Where N replaces the number of the link. For example, the style for the title of the first link section is
iBase Link 1 Title, for the second link that is specified, the title style is iBase Link 2 Title.
iBase Link Field Label Regular Default link field label for all links
iBase Link Field Label Highlight Highlighted link field label for all links
iBase Link Field Data Regular Default link field data for all links
iBase Link Field Data Highlight Highlighted link field data for all links
Select the whole report and update fields in Microsoft Word to make sure that the information is up-
to-date (press Ctrl and A, and then press the F9 key).
Procedure
1. In Microsoft Word, format the document as required. For example in Microsoft Word 2003, click
anywhere in the paragraph and, from the Format menu, select Styles and Formatting. Modify the
displayed style and apply the change.
2. If required, tidy up the content of the report. For example, you may want to remove details of
specific records and add some text in its place to demonstrate each of the Microsoft Word styles
used by iBase. Users are able to display this document in the Report Wizard.
3. From the File menu, select Save As and save the document in the same folder as your database.
The file name should start with the name of the database.
Section breaks
Section breaks in the template are used to separate the parts of the report. The sections are as
follows:
There are three types of section break available in Microsoft Word and you can use any of these to
separate the sections of your report:
• Next page inserts a section break and starts the next section on the next page.
• Continuous inserts a section break and starts the next section on the same page.
• Odd page or Even page inserts a section break and starts the next section on the next odd-
numbered or even-numbered page.
Report definitions
The report definition list displays creation and update information. You can sort the report definitions
by clicking the required column heading.
To add a report definition, click New.
To administer the report definitions for your database, right-click on a definition and then select:
Link reports
Link reports are reports that are able to be sorted by using link fields, and can include the information
that is entered on either linked entity. The difference between a link report and a standard report is
that although standard report can include links, the report cannot be sorted by fields that are placed
on the link.
As a default, link reporting is not turned on, but can be initialized by a database administrator if
required.
Option Description
Open To edit the selected report definition; you can
also double-click on the definition.
Rename To rename the selected report definition.
Save As To save a copy of the selected report definition
under a new name. The name must be unique
not just to the category folder but to the whole
database.
Delete To delete one or more selected report
definitions.
Categorize To move one or more selected report definitions,
which might be in different categories, to another
category, or set access controls on them.
Properties Show 'system' type properties of the report
definition, such as the date it was created and
the name of the user who created it. Only
available when a single report definition is
selected.
Text file (ASCII) You use an export specification to define how the
exported data is formatted. For example, you
might define which entity or link type to export
and how dates and numbers are formatted. If
you regularly export data, you can save your
settings in an export specification. You can also
run a series of export specifications together by
using an export batch specification to export a
number of records, perhaps of differing entity or
link types.
Procedure
1. In the Database Explorer view, right-click Export Specifications and select List.
2. Load the required export specification.
3. Click Next to review the contents of the export specification:
a) Step 1, which entity or link type is exported.
b) Step 2, the format of the export file, and in particular how dates, times, and numbers are
handled.
c) Step 3, which fields for the entity or link type are exported.
4. If the definition of the export specification is appropriate, select the data to export:
Procedure
1. Select File > Data > Export.
2. If you want to create a new export specification, select the type of data to export:
• To export entities, click Entities and from the Record Type list, select the entity type.
• To export links, click Links and from the Record Type list, select the main link type. In the Link
Ends area, select the link end entity types from the End (1) and End (2) lists.
Note: You must export entities before links.
3. Click Next to continue. (In later steps you can click Back to return to previous steps if you want to
change any settings.)
4. In Export File Name, enter the path of the export specification that you are creating or navigate
to the folder, enter the file name and click Save.
5. Select First Record Contains Field Names to write field names into the first record in the export
file.
This is useful as a reminder of what the fields are when you browse the exported file. It also
allows you to automatically assign source fields to iBase fields if you later import the file back
into an iBase database.
6. Enter the character to use to enclose the field values in the export file in the Text Qualifier. Each
value is bounded at each end by this character. If you do not want a text qualifier, delete the
displayed character.
When reimporting data, this prevents field values that contain field delimiters from being split
into two.
7. In the Field Delimiter area, choose the character that is used to separate fields, or enter a
different one in the Other box.
Note: The record delimiter is an ASCII CR and LF character; this puts each new record on a new
line.
8. The Dates, Times & Numbers area shows you how any dates, times and numbers will be
exported. To change these formats, click Format.
9. Select the fields you want to export, and the order in which they appear in the export file.
<Direction> If present, this stores the direction of the link, and is exported as codes:
0 = no direction
1 = End (1) to End (2)
2 = End (2) to End (1)
3 = Both
<Strength> If present, this stores the strength of the link, and is exported as codes:
0 = unconfirmed
1 = confirmed
2 = tentative
10. In the Records area, specify the source of the records to export, provided they are the
appropriate type.
11. Click Run. The number of records that are exported is displayed.
Tip: You can then click Back to go back and export more data with the same export specification,
for example from a different set or query.
Procedure
To export data to Microsoft Excel:
1. Select File > Data > Export Data to Excel.
2. Select an entity or link type from the list.
3. Specify which records to export.
4. In the Fields to Export area, turn on the checkboxes next to the fields that you want to export,
turn off the check boxes of fields that you do not want to export.
5. In the Totaling Functions area, turn on the check box next to the Microsoft Excel function that you
want to apply to the data. The functions only apply to numerical fields. The functions are:
Procedure
1. Select File > Data > Export Data to XML > Create XML File.
2. Browse for the folder where the XML file will be created.
3. Browse for the database subset definition that defines the records you want to export.
4. Click Export.
Procedure
To delete batches of records:
1. Select Edit > Batch Delete.
2. Select the entity or link type of the records that you want to delete.
3. In the Source area, specify the source of the specified entity or link type records.
4. Click Delete.
5. Click Yes.
6. To cancel the delete once it has started, press Esc. The delete will stop and a message displays
how many records have already been deleted.
The behavior when canceling a batch delete is different depending on the type of database you are
using and the Audit Level set:
Option Description
Database and Audit Level Behavior when canceling delete
SQL Server - 1,2 or 3 No records are deleted.
SQL Server - 4 or 5 Records up to the point when the batch delete is cancelled are
deleted.
Microsoft Access - Any Records up to the point when the batch delete is cancelled are
deleted.
The deletion may take a while to complete if you are deleting a large number of records. Once the
deletion has completed, you are shown the number of records that have been deleted.
Procedure
To restore deleted records:
1. Edit > Restore Deleted Records.
2. Select Select a range of records. This enables you to either search for records deleted between
specific dates or by a specific user:
Option Description
Deleted between Set Deleted between to the earliest and latest deletion dates of the records
you want to restore. These dates are inclusive; any records deleted on
these dates will be found.
Note: Alternatively, select Specify a Record ID to restore a single record. However, you will need to
know the record ID.
3. Click Next to display the deleted records that match your criteria.
These records are the entities that meet the search criteria (any associated, deleted links are not
listed). Links are only listed separately if their link end entities are not in this list. This may be
because the entities still exist in the database or the entities were deleted by a different user or
within a different date range.
4. You do not need to restore all of these records: you can turn off the check box next to the records
that you do not want to restore.
5. Click Next to display a complete list of the entities and links that will be restored.
6. Click Finish to restore the records listed above or Back to add or remove records from the list. To
cancel without restoring any records, click Close.
Note: If the restore is taking too long, you can press the Esc key to stop the operation. This will
undo anything that has been done up to that point (to avoid database inconsistencies).
Procedure
To permanently delete soft deleted records:
1. Select Edit > Purge Deleted Records
2. Specify the age of the records that you want to purge by entering a cutoff date in the Deleted
before this date box. For example, if you enter the 2nd then any records deleted on or before the
1st are purged. By default, soft deleted records older than one week are purged.
3. To purge records deleted by a specific user, select the username from the Deleted by this user
list.
4. To find out how many items will be permanently deleted and the total number of soft deleted
records, turn on Review number of records before purging and click Next to see the statistics.
The left numbers are the number of entities or links that will be permanently deleted based on the
Purge Filter settings. The right numbers are the total numbers of soft deleted entities or links. If
required, click Back to change the cutoff date or the username.
5. When you are ready permanently to delete these records, click Purge, or Close to cancel the purge.
Logging in to iBase
When you log in to iBase, you open a security file that defines the permissions for the user account to
which you are logged on. The security file connection is closed when you log out.
Procedure
1. Select File > Logon.
2. Browse for the security file to open.
Note: The file name ends with *.ids.
3. Click Open.
4. If the Logon screen is displayed, enter your iBase username and password.
5. Click OK
Selecting a database
To use iBase, you need to log on and open a database. Logging on happens automatically if iBase is
set up to use Windows authentication, alternatively, you are prompted to enter an iBase username
and password.
Procedure
1. Select File > Open Database, and browse for the database (*.idb) to open.
2. Click Open.
3. If prompted, enter your iBase username and password (the password is displayed as asterisks (*)
for added security).
4. Click OK to view the database summary.
Procedure
1. Select Tools > MRU List Manager.
2. In the MRU list, click on a database to select it.
3. Change the position of a database by using the up or down arrows.
4. If required, delete a database from the list by clicking Delete.
Changing passwords
If you are using an iBase user account, you can change the password that you use to access iBase.
The characteristics of the password, such as its length and the type of characters it requires, are
controlled by your security administrator.
Procedure
To change your password:
1. Select File > Change Password.
2. Type your existing password in the Current Password box.
3. Type the new password in the New Password box.
4. Type the new password again in the Confirm Password box.
User permissions
You can check the actions that you can perform in iBase. These permissions are part of the database
design; they cannot be changed in iBase User, if you are denied access to an action that you need,
contact your system administrator.
To view your user permissions File > Properties > User - Permissions.
Database permissions
From the File menu, select Properties and one of the following menu commands to obtain information
about your permissions as a user and the design of the database.
The following submenus are available:
You can also find out about the type of records in the database by using the Database Explorer.
Procedure
1. Select File > Change User Information.
2. Enter your full name, telephone number, e-mail address, and any notes.
3. Save your details by clicking OK.
Procedure
1. To open the list of current connections, select Tools > Current Connections.
For each active connection, you can view the following information:
Procedure
To define the records in a database subset:
1. Log on as a user with permission to add folder objects, and open the database.
2. Select File > Data > Database Subsets > Database Subset Definitions.
3. Click New.
4. Select the records by adding queries and sets to the definition.
The queries and sets form a part of the definition and deleting any of these sets or queries, as
opposed to just removing them from the definition, invalidates the definition and any database
subsets created from it.
Note: If the subset definition is being used to create database subsets in Microsoft Access, you
can use parameterized queries and the values required to run these queries are entered when the
database subset is created (or synchronized). If you include parameterized queries, then you must
enter values for them when creating database subsets (and when synchronizing). Advanced
subsets cannot be created using subset definitions that include parameterized queries.
5. Click Save to save the definition.
To create a database subset from your definition:
6. Select the type of database storage to use for your subset:
• To create a subset in a Microsoft Access database, select Create Subset, and follow the
instructions in “ Creating database subsets (Microsoft Access)” on page 165.
Results
The database subset definition is created.
At any stage, you can:
• Change the definition by adding new sets and queries or by removing them (during synchronization
the database subset will be re-created).
• Rename and move the sets and queries that are listed in the definition (this updates the definition).
• Rename the definition.
• Move the definition to a different folder.
You can also delete the definition if it is:
• No longer required to create new database subsets.
• No longer required to update database subsets at the end of synchronization.
Procedure
To create a database subset:
1. Log on as a user that has the Database Creator role.
2. Open the database from which you want to create the database subset.
3. Select File > Data > Database Subsets > Create Database Subset.
4. In the Identifier box, enter a unique ID for the database subset. The ID is up to five alphanumeric
characters long. Previously-used identifiers are listed in the Utilized Identifiers list.
5. In the Name box, enter a name that will be used for both the subset security file and subset
database.
6. A new user account with system administrator permissions will be created in the subset security
file. Enter the username and password for this account. This account will be used to synchronize
the database subset with the main database and to log on to the database subset if no other user
accounts are added to the security file.
Note: Any records added to the database subset will have this user as their “Create User”. You
may therefore want to select a username that will be meaningful once these records are
uploaded to the main database.
7. In Destination folder, browse to the folder where you want to create the subset security file and
database. You can create a new folder if you have sufficient Windows permissions. The folder you
use can contain only one iBase database and security file.
Synchronizing databases
Synchronizing databases, uploads the data from the database subset to the main database and
downloads new and updated records in the subset definition to the database subset. You can update
the database subset using the original subset definition or you can select a different subset definition.
Procedure
To upload the records in a database subset:
1. Back up the main database if it is in Microsoft Access format.
2. Log on using a user account that has the Database Administrator role and permission to add
records, update records, delete records, and update or delete records created by other users.
3. Open the database from which the database subset was created.
4. Select File > Data > Database Subsets > Synchronize.
5. Browse for the database subset containing the records that you want to load.
6. Log on to the subset security file as a user with system administrator permissions. Typically, you
will use the name and password specified when the subset security file and database was
created.
7. Click Connect.
8. Decide what you want to do with the database subset:
• To discard the subset after uploading the records to the main database, turn on The database
subset should expire after synchronization.
• To reuse the subset, browse for a subset definition (it does not have to be the original subset
definition).
Note: The Subset Definition box displays the name of the subset definition originally used to
create the subset, and will be blank if the subset definition is no longer accessible or does not
exist.
9. Decide how you want to handle any conflicts between changes made in the main database and
those made in the database subset. By default, the dialog ensures that the synchronization will
never overwrite changes in the main database.
Note: At this stage it is not possible to know whether there are actually any conflicts.
10. Click Synchronize and then OK to continue.
If the subset definition contains any parameterized queries then you will be prompted for the
values to use. If you cancel entry of the parameter values, you will also cancel the
synchronization of the databases.
Procedure
To create an advanced database subset:
1. Log on as a user that has the Database Creator role.
2. Open the database from which you want to create the database subset.
3. Select File > Data > Database Subsets > Create Advanced Subset.
4. In the Name box, enter a name that will be used for both the subset security file and database
subset.
This also generates the Database Name displayed in the SQL Server (subset) section.
5. The subset security file will be generated with the same users as the master database.
6. Enter the Server connection URL in the Sever box, and enter your database credentials, these can
be:
• An exact duplicate of the credentials used to access the master database.
• A specified user name and password
• Windows Authentication
Tip: Test your connection each time you change the server or the credentials used to access it.
7. In Destination folder, browse to the folder where you want to create the subset security file and
database identifier. You can create a new folder if you have sufficient Windows permissions. The
folder you use can contain only one iBase database identifier and security file.
8. In Subset Definition, browse for the definition that defines the data to be copied to the new
database. At this stage, it is not possible to know whether the definition is still valid or whether
the total number of records exceeds 50,000 (the maximum allowed records).
9. Click Create to continue.
You will be warned if the definition is invalid because it contains parameterized queries, deleted
queries or sets, or if the total number of records exceeds the 50,000 record limit.
10. Click OK to create the database subset.
Advanced synchronize
Synchronizing databases, uploads the data from the database subset to the main database and
downloads new and updated records in the subset definition to the database subset. You can update
the database subset using the original subset definition or you can select a different subset definition.
Configure auto-synchronization
If you have advanced subsets, you can set up automatic synchronization between each subset and
the master database. Automatic synchronization means that any data changes are detected and
refreshed regularly.
Procedure
1. Log on using a user account that has the Database Administrator role and permission to add
records, update records, delete records, and update or delete records that are created by other
users.
2. Open the database from which the database subset was created.
3. Select File > Data > Database Subsets > Configure Auto Sync.
4. Browse for the database subset that contains the records that you want to synchronize.
5. Enter the iBase username and password that is used to access the database subset.
Note: This user account also needs to have the Database Administrator role and permission to
add records, update records, delete records, and update or delete records created by other
users.
Cases
Data in your database might be organized into different cases. Each case contains records belonging
to a particular investigation. You are assigned access to one or more cases by your database
administrator.
Working on a single case allows you to focus only on those entities and links that relate to a particular
investigation or series of investigations. You continue to receive alerts for records in the other cases to
which you are assigned but you will not be able to view the details for those alerts. To view the details,
you need to log on to the appropriate case.
You can be assigned to several cases, but to add or modify data in a case, you must select only that
case when you open the database. You can log on to all the cases to which you have access (multi-
case analysis mode). This enables you to view records in all the cases, but you will not be able to
modify any data.
Accessing a case
You are authorized to access cases by your security and database administrator.
If you are only assigned to a single case you will be connected to that case automatically when you
log on, without being prompted to choose a case. When working in a single case, you can create new
records as well as viewing existing data.
If you are authorized to access several cases, you can open a single case or all cases at once:
Records in a case
• When a single case is selected, any queries that you run will return results based only on the
records in the current case. This also applies to sets and reports; for example, a set will only list the
records in the current case.
• Whenever you select "All records" when logged in to a single case, this refers to all the records in
that case only.
• When several cases are selected in multi-case analysis mode, then "All records" applies to the
records in all of the cases to which you have access.
Case details
Each case has the following properties:
Note: Cases can only be used in SQL Server databases. Cases are set up by a security and database
administrator using iBase Designer.
Note: Word search is unavailable if you have a case-controlled database.
Select a case
When you open a database that contains multiple cases that you can access, you are prompted to
select the case to open. You only have access to cases that are authorized by your database
administrator and security administrator.
To open a case, select the case that you want to use from the list and click OK.
To view a list of closed cases in this database, click the Closed tab. You can only work on a closed
case in read-only mode (that is, you cannot add or edit any records). If you want to reopen a closed
case, speak to your database administrator and security administrator.
Note: If you are only authorized to access a single case, you are connected to that case automatically.
Replication
iBase database replication is the process of automatically distributing copies of iBase data and
database objects between SQL Server instances in different locations and keeping this data
synchronized. The data is copied by use of SQL Server merge replication, using the standard tools
provided in SQL Server.
iBase database replication provides more tools to manage the iBase database. All servers that are
involved in replication must use the same SQL Server version.
In iBase database replication, one of the iBase database servers is configured as the Publisher, and
empty iBase databases are created at the other locations.
Procedure
To review conflicts:
1. Select Tools > Replication > Conflict Viewer.
Note: The Replication menu is only available when the database is initialized for replication, and
you log on as a database or system administrator.
2. In the tree view, click a conflict.
3. Compare the two versions of the entity or link. The version that won when the conflict was
automatically resolved is displayed as the winner, and the differences between the two versions
are highlighted. To make it easier to identify the differences, turn on Show Conflicting Fields Only.
If any links are going to be deleted or restored as a result of this conflict between entities, Link(s)
Affected appears.
The table below each version of the record shows additional information:
Option Description
Field Description
Record identifier Double-click the identifier to display the winning record (you can never
display the losing record). The identifier is the same for both the winning and
losing versions of the record.
Created Double-click to display the contact details for the user who originally added
the record.
Last Updated The Last Updated field is different in each version. It shows the date, time,
and user who made the change or deletion. Double-click to display the user's
contact details.
Description Double-click to display a message about the databases in which the
conflicting change was made. The format of the database name is: <SQL
Server name>\<SQL Server instance name>\<database name>.
4. Resolve the conflict:
• If you are satisfied that the conflict was resolved correctly, click Apply below the Winner area.
What to do next
Depending on the type of conflict, a broken link may be detected by the Conflict Viewer if someone
adds a link to an entity that is deleted at a different site. The broken link feature enables you to view
and then fix the problem by either restoring the link end entities or removing the broken link. Anything
that is removed will be soft-deleted rather than purged. Fixing a broken link may also fix other related
broken links.
To check for broken links, click on Broken Links in the tree view.
To fix any broken links that are found:
1. In the tree view, click on the broken link and then examine its details. You need to decide whether
to delete the broken link or whether to keep it which will mean restoring the link end entity. You
can use the commands on the shortcut menu to investigate the records further. You cannot edit
any information for a broken link.
2. Click:
• Remove to soft delete the broken link and leave the link end entities unchanged.
• Restore to restore any deleted link end entities so that the link is no longer broken.
If you want to leave this broken link until later, click a different broken link in the tree view.
Procedure
To apply a schema change at each site:
1. Ensure that you have a backup of the database.
2. Select Tools > Replication > Update Database Schema.
iBase closes and reopens the database before displaying Update Database Schema. Update
Database Schema is not displayed if you are a member of a Data Access Control group that denies
access to any tables or fields in the database.
Note: If you are warned that there is no database template, load the correct template by using the
File Manager. However, do not load any other files into the database as all the files listed in the File
Manager will be overwritten once replication is reconfigured.
3. If required, save a list of schema changes in a format that is useful for the SQL Server
administrator at your site. You can print this file later.
4. Click Update to apply the changes and then, once this is finished, click OK to reopen the database.
5. At each site, check that the template has been applied successfully. Once all subscriber sites have
applied the schema change, notify the SQL Server administrator that replication can be
reconfigured.
When the SQL Server administrator informs you that replication is running again for all the sites:
6. Verify that replication is running, for example, by running a status report.
You may want to test that replication is running correctly.
7. Open the publication database and make the database available again to other users, select Tools
> Replication > Bring Online .
After a short interval, the status is replicated to the Subscribers.
8. Notify users that they can start work again.
9. If you use iBase Scheduler, restart the Scheduler service.
Procedure
To send a message and take all the databases offline:
1. In the Take Offline dialog, enter an additional message (if required) and select the frequency with
which the message is displayed. When selecting a frequency, you may need to leave time for the
message to be replicated to the other sites.
2. Only users who are actively using iBase will see the message. For this reason, if users have not
exited from the databases after a certain interval of time, ask the SQL Server administrator to log
them out.
Note: To change the frequency with which the message displays or to change the message, you
need to select Tools > Replication > Bring Online and then reselect Take Offline.
What to do next
When the databases are offline, select Tools > Replication > Bring Online in order to bring all the
databases back online thereby making them available to users wanting to open them.
You can bring the publication database online as soon as your SQL Server administrator tells you that
replication is configured for the publisher site. The subscription databases will automatically come
back online as the subscriber sites are configured for replication.
Warning: Do not bring the publication database online while replication is disabled. You
should only add data (whether manually or by scheduled import), or edit or delete data while
replication is running. This is because any changes that are made to the data while replication
is disabled cannot be replicated to other sites even when replication is reconfigured.
Message Description
Publication is OK When run in the publication database, this
indicates that the Publisher is configured for
replication.
Publication not found Replication is not running at the Publisher.
If you run this report while in a subscription
database then information on the Publisher, or
whether replication is running, is not available.
Note: The Status report does not report any problems with the communication links between
Subscribers and Publishers, or any problems with the replicated security connection file or audit log.
Analyst's Notebook
When you have both Analyst's Notebook and iBase, you can transfer information between them to
visualize and store data. Data can be kept in a centralized location and shared between charts.
You can transfer data between iBase and Analyst's Notebook in three ways:
• Add data that is stored in iBase to an Analyst's Notebook chart.
• Add data to both a chart surface and to an iBase record simultaneously.
• Extract chart data from Analyst's Notebook items to be stored in iBase.
Note: Extracting data is available in the iBase Chart Item Extractor.
To reestablish the connection between an Analyst's Notebook chart and an iBase database, reopen
the appropriate database. To reopen a database, select it in Data Sources, if required enter your
iBase username and password, and click OK.
Saving a chart
You can save Analyst's Notebook charts containing iBase data in the usual way.
Chart items containing iBase data, reference the database and these references are saved with the
chart. The connection the iBase database, however, is not saved as part of the chart and will be lost
when you close it (if you opened the database from Analyst's Notebook.)
Note: When distributing charts containing iBase data to users who do not have iBase, you may want
to populate the cards for each chart item with the source record data from the iBase database. See
“Populating cards” on page 80 for details.
Procedure
To open an iBase database in Analyst’s Notebook:
1. Start Analyst’s Notebook. A new empty chart is displayed.
2. Click the Home tab, and then in the Data Sources group, select Connect > Open Database.
3. Find the required database, and click Open.
4. Enter your iBase username and password, and click OK.
The chart would include all the people involved The chart would include the same people, but
in a theft crime, along with all their crimes, would now include only their theft crimes.
whether they were thefts or not.
7. Select the charting scheme to use or click New to create a new scheme. As a minimum, the
charting scheme must specify how the date and time are populated for the timed item type.
8. In the Options area, you may choose to Separate simultaneous events by milliseconds but note
that this may mean certain analysis functions do not give the expected result. For detailed
information on using this option, see “Specifying general options” on page 194.
9. Turn on Add to current chart to add the records in the set or query to the current chart. Turn off
the check box to add them to a new chart.
Procedure
To close the iBase database, in the Data Sources page of the Data Sources Task Pane, close a
database by clicking Close to the right of the database name.
Selecting a combination
To get good results when charting iBase records, a number of different options need to be set in
combination. These options are:
Charting Scheme
How information that is stored in iBase records is converted into Analyst's Notebook chart item
properties.
Charting Style
The type of chart that you are trying to create.
Labeling Scheme
What information is used to construct the item labels.
You can store up to eight preset combinations, and if these combinations are set up, you can select a
combination from the Association & Timeline Options list.
To edit a combination, click Edit to the right of the list. For more information about selecting a
charting scheme, charting settings, and labeling schemes, see “Editing iBase combinations” on page
197.
The name of the current combination is saved with the chart. When the chart is reopened, the
combination is found and selected if possible.
Procedure
1. Open the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. Click New Entity and select the type of entity from the list provided.
3. Enter the information about the entity into the form provided.
Procedure
1. Open the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. Select the two entities to be linked on the chart surface, and click New Link.
3. Select a link type from the list of available link types that are relevant to the selection.
4. Enter the information about the link into the form provided.
Searching iBase
If you would like to add items to your chart from an iBase database, you can either use the Add to
Chart option from within iBase, or search for the items directly from Analyst's Notebook.
Procedure
1. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. Select the type of search to complete:
Option Description
Find Find one or more entities in iBase.
Search 360 Type the search terms that you would like to use in the textbox that is
provided and press enter to search the database.
Note: Search 360 is only available in databases that have been configured
to use it.
Query Manager Lists all the existing queries in the iBase database.
New Query Define a query.
Set Manager Lists the existing sets in the iBase database.
Timeline Assistant Create, or add to, a timeline chart.
Procedure
1. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. Select whether to add the results of a query, or the contents of a set:
• To view the available queries, select Query Manager.
• To view the available sets, set Set Manager.
3. Select the query or set to use and either review the items, or add them directly to the chart:
• If you want to review the definition of the query, review the records found by the query, or see
the contents of the set, click Open. Then, when you close the query or set, you are prompted to
add the records to the current chart.
• If you do not want to review the query or set, click Chart. The records are added to the current
chart.
Procedure
1. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. Optional: Set the item types that you are interested in retrieving from your database:
a) At the top of the Charting section, click either Filter Entity Types or Filter Link Types. The lists
display the entity or link types in the iBase database.
b) Select the entity or link types that you to use on the chart.
c) Click OK.
3. Select the items on your chart that you would like to investigate and select an option:
Expand Expand one or more iBase entities on an Analyst's Notebook chart in order to
chart their links and link end entities. The number of links and linked entities
that are shown (the expansion levels), and the types that are shown, is
determined by the current charting settings. By default, only the links from the
selected entity and their link end entities are shown.
Click Expand. This adds the entities and links to the current chart. The entities
and links that are added are determined by the current charting settings.
Expand to New Expand the selected items onto a new chart. The entities and links that are
Chart added are determined by the current charting settings.
Expand with Expand with custom settings, such as specifying the entity and link types to
Settings use, the expansion level, and link styles.
Explore Interactively browse through your database, expanding from one entity to the
next. While you are exploring, you can choose to concentrate on specific entity
and link types and ignore others. This can help to simplify the information you
are trying to understand at any given time.
Find Path Find the chain of intermediate links and entities that connect two entities on
the chart, taking the link direction into account, and selecting the shortest
path (depending how the charting settings are set). A path may not be found if
the number of intermediate entities exceeds a preset maximum number.
Note: If Follow direction is turned on, then select the entities in the correct
order - the first entity you select is the 'from' entity, the second entity you
select is the 'to' entity.
If a path is found between the two entities, additional information regarding
them is added to the chart. All the items are selected so you can tidy up the
chart by dragging them to a new area of the chart.
Find Connecting Find all the links that connect two or more entities on the chart. The number to
Links the right of the Find Connecting Links displays the number of items on the
chart that are already connected.
Find Common Find any entities that have connecting links to at least two of the selected
Neighbors chart items.
Find Common Finds any entities that have connecting links to all of the selected chart items.
Neighbors
Linked to All
Populate Cards Populate cards for items selected on the chart. For more information, see
“Populating cards” on page 80.
Exploring items
When you Explore an item, a Link chart is displayed that shows any links to that item. This
information can subsequently be added to the Analyst's Notebook chart.
Procedure
1. Select an item on your chart surface that contains iBase records.
Command Description
Add to Map Adds selected items with coordinates to Google
Earth.
Select on Map Selects items with coordinates on a Google Earth
map
Command Description
Add to Set Adds the selected items to either a new or
existing set.
In the Add to Set dialog, either, click New to
define a new set, or select the set that you want
to chart and then do one of the following:
• If you want to review the contents of the set,
click Open. Then, when you close the Set
dialog, you are prompted to add the records to
the current chart.
• If you do not want to review the set, click
Chart. The records are added to the current
chart.
The entities remain selected so that you can, for
example, reposition them on the chart.
Alternatively, right-click on a chart item, and
from the shortcut menu, select database > Add
to Set, where database is the name of the iBase
database.
Procedure
To check for updated information in your iBase database:
1. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane > Selection > Update Chart.
A list of the items on the chart that have been modified in iBase are listed.
2. Select the items that you would like to refresh on the chart, and the action that you would like to
perform:
• Update - Update the chart item with the information in the iBase record.
• Hide - Set the item to be no longer visible on the chart surface.
• Remove - Delete the item on the chart surface.
• Update from new item - Update the information from a merged record or changed link end.
3. Click Update.
Option Description
Show When you select Show for a merged chart entity,
the Show List dialog is displayed. Select the
record that you want to show.
Explore When you select Explore, the Select a Record
dialog is displayed. Select the record that you
want to examine in the Explore window. This is a
useful way of finding out which links are
associated with which component of a merged
chart item.
Note: You cannot update the chart when you edit the iBase record of a merged chart item.
Command Description
Select Items from Current Database Selects chart items that are from the currently-
connected database.
Open Hyperlinks If the entity type has a hyperlink field, then you
can find any other entities or documents to which
it is linked by a hyperlink. The hyperlink may be
to a document stored on a file server or a Web
site.
Alternatively, right-click on one of the selected
entities and select database > Hyperlinks,
where database is the name of the iBase
database.
Procedure
General options
Select an option to specify what happens when you double-click items on the chart:
Option Description
Open their Properties Dialogs Opens the Analyst's Notebook item properties.
The iBase record details are listed as an attached
card.
Open their iBase Show dialogs Opens the iBase record for a selected item, or
the list of records for more than one selected
items.
Session defaults
You can set a session default for any standard field or link strength to add the same value to a
specified field for each record added during a session. For example, when you create an entity, you
see values of the fields set to the default - you can override the default value.
• Select Session Defaults for Standard Fields to specify different values for the session: “Setting
Field Values for the Session” on page 249.
• Turn on Show Session Defaults Dialog at Logon to display the current different values for the
session.
Charting settings
Specify which items are selected on the chart, choose a labeling scheme, and set iBase options.
Specify the chart items that are selected and which of them are laid out when they are added to the
chart:
• Only Select Added Items to select items that are added to the chart.
• Only Layout Newly Added Items to lay out only newly added chart items.
Select iBase Charting Default Options to specify some general settings for how you use iBase.
Procedure
1. In Analyst's Notebook, select the items on the chart that you would like to expand.
2. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
3. On the Selection page, select Expand with Settings.
4. On the general page, select the expand level and options:
Option Description
Limit expansion level Select to limit the expansion level, to the specified maximum level.
Include Connecting Links Add any connecting links between the entities that are added as a
result of the expand.
Include Common Add any entities that are connected to multiple entities added as a
Neighbors result of the expand.
Common Neighbors - Fully Add entities that are linked to all the currently selected entities.
inclusive
5. On the entity types, and link types pages, select the entity and link types to be included in expand.
6. On the link style page, choose how link labels are displayed:
Sum numeric If the iBase label for a link has a numerical component, then the values of this
component, for all the iBase links represented by the chart link, are summed.
The resulting number is used as the chart link label. The direction of links is
used in the calculation; values are added if the links are in the same direction,
or subtracted if they are in opposite directions.
For example, In iBase, transaction links might have a label containing the value
of the transaction. If two links of this type between two bank account entities,
one of $2000 and one of $1000 are added to a chart in a single link, the label
value is either $3000 (if both links are in the same direction), or $1000 if the
links are in opposite directions.
This is only relevant for links that contain multiple links that are represented by
a single line on the chart.
7. On the link style page, choose how multiple links between the same two entities are represented:
Option Description
Single The connection between two entities is shown as a single link. This single link
represents an association between two entities, which might comprise many different
instances of that association.
Directed The connection between two entities is represented by one link for each possible
direction. Therefore, a directed connection has a maximum of four links. Each of those
links can represent several instances of the association, all in that same direction.
Multiple Each link between two entities is displayed individually.
Procedure
1. Click the Home tab, and then in the Data Sources group, select Connected Sources > Charting
Settings.
2. Check the General settings match your requirements:
Option Description
Charting In the charting section you can see:
• Charting scheme
• Chart Style - For Timeline charts you can select to separate simultaneous
events by milliseconds to make them more visible, and apply this option to all
chart items or just to those added after this point.
Charting schemes
A charting scheme defines how the iBase fields will be copied into a chart as chart item properties.
Depending on the type of investigation, different charting schemes highlighting different aspects of
data are appropriate.
You can select an available charting scheme, or create a charting scheme that matches your needs.
Procedure
1. To access the Data Sources pane, click the Home tab, and then in the Data Sources group, select
Connect > Datasources Pane.
2. On the New page of the Data Sources Task Pane, select a combination from the Association &
Timeline Options list and click Edit.
3. Provide a Preset Name for the option combination.
4. Select the charting scheme.
5. From the Charting Style list, select a charting style:
• Association - all entities are represented as icons.
Note: If you subsequently add a link to a connection which has a connection style of Single, the
style is automatically promoted. For example the connection style of the link will be updated from
Single to Directed. For further information about adding a link to a connection, see the Online Help
for Analyst's Notebook.
8. If you set the Connection Multiplicity to directed or single you can make the label be the count or
sum of the labels of all the link records in the connection.
Option Description
From database The label for the chart link is the chart label as specified in the default labeling
scheme.
Type name The label for the chart link is the source iBase record link type.
Occurrences The label for the chart link is the number of iBase links that it represents.
This is only relevant when Multiple Link Style is set to Single or Directed, when a
chart link might represent several iBase links.
Sum Numeric If the iBase label for a link has a numerical component, then the values of this
component, for all the iBase links represented by the chart link, are summed.
The resulting number is used as the chart link label. The direction of links is
Milliseconds
Analyst’s Notebook can chart items with a date and time as controlling items. The horizontal position
of controlling items on the chart is in relation to the flow of time from left to right.
If two or more items have the same date and time, they can display on top of each other. When you
want to inspect these events visually, for instance looking for groups of such items close together, it is
useful to separate them by a small time increment so that they are not displayed on top of each other.
If you turn on Use Milliseconds to Separate Simultaneous Items, the interface automatically adds a
millisecond to the time of each chart item with an identical date and time. If there are several chart
items with the same time the first item is unchanged, the second is one millisecond later, the third
two milliseconds later. This ensures that all items are visible on the chart.
If you do not turn onUse Milliseconds to Separate Simultaneous Items, the items appear at the
same horizontal location on the chart. This is indicated on the time bar by the marker symbol, which
uses the overlap color to indicate that there is more than one item at this specific time location in the
chart.
To view the time of events separated by milliseconds, your time format must be set to display
seconds (for example, HH:mm: ss). However, the time bar shows the full time of events regardless of
the time format setting.
Important: Adding milliseconds to the time might mean that certain analysis functions do not give
the expected result. For example, if a millisecond is added to an event time of 4:00 PM then a search
for events between 3:00 PM and 4:00 PM will not find the event.
Charting schemes
A charting scheme controls how the properties of items that are added to Analyst's Notebook charts
that use iBase records are updated. Each charting scheme defines the chart item property mapping,
the chart template, the labeling scheme, and whether to display attributes and pictures on the chart.
Ignored by Matching You can assign this link semantic type to any of
the links on a chart. This does not prevent two
items from matching, it is simply that the link is
ignored as a reason for matching.
This semantic type is the parent of Possible
Match Between.
Procedure
1. Select File > Data > Chart Item Extractor > Create Analyst's Notebook Template.
2. Select the user whose user permissions you would like to use to create the Analyst's Notebook
template.
If Use this User is turned off, your user permissions are used. Alternatively, you can use the
permissions of another user by turning on Use this User . For more information, see “Creating
Analyst's Notebook templates by using a different user account” on page 206.
3. Browse to the location where you would like to store your template.
4. Enter a file name and click Save.
5. Click OK.
Important: When you create the Analyst's Notebook template, the security level of the logged in
user is used to determine access to field information.
When your create a template based on an iBase database, it is your responsibility to ensure that
access to any restricted or secret information is controlled in an appropriate way.
Procedure
For each type of template:
1. In iBase, select File > Data > Chart Item Extractor > Create Analyst's Notebook Template.
2. In the Analyst's Notebook Template Generator dialog, turn on Use this User.
3. Select the user.
4. Enter the password for the user.
5. Click Connect.
Procedure
1. Open Chart Item Extractor.
• In iBase, select File > Data > Chart Item Extractor > Extract Chart Items, browse to your
chart, and click OK.
• In Analyst's Notebook, with a connection to an iBase database, open the Data Sources pane,
and select Extract Chart Items.
2. Configure the extraction.
3. Review the suggested alignment and make any changes necessary. For more information, see
“Changing the alignment” on page 210.
4. View the validation results and make any changes.
5. Run the extraction, and review the results.
Procedure
1. On the Chart Item Extractor Configuration page, select the Extract chart item data into multi-
line text (standard) fields option and click Advanced.
Select a separator
To determine how the data in the label is divided, you must chose a separator. This character will be
used by the extraction to break up the label into fields.
Select the split character that you would like to use to divide the column. By default this uses a space,
if you require a specific character, for example " | ", select Other and type the characters and spaces in
the adjacent box.
Procedure
1. Select one or more items from the Alignment Results list.
2. Click Change Alignment.
3. Select the iBase Type that you would like to align to.
4. Optional: To extract the label, turn on the Extract the label into a single field and choose the field
type.
Note: To split the label into multiple fields, set the Advanced options (see “Resolving item labels”
on page 209).
Types of Alignment
Type Method Description Example
Name Automatic The property name A person attribute of
matches an item type surname matches
or field name. exactly a field called
family name.
Semantic Automatic The property semantic A chart item 'Villain'
type matches an entity, being of semantic type
link, or field semantic 'Person' would match
type. to an iBase entity type
'Criminals' also having
'Person' as the
assigned semantic
type.
Note: A combination of types may be used to determine an alignment, in which case all that apply will
be listed (for example Name and Semantic).
To view the current alignment for an item, ensure it is selected within the Alignment Results, any
chart item properties that have been aligned will be displayed.
Note: You can select multiple items within the alignment results. This allows item type alignment to
be changed, but will not display the individual alignment details.
You can sort by clicking on the Alignment Type column header to group alignment types.
Procedure
1. On the Chart Item Extractor Validation Results page, click Options and with Extract chart item
label turned on, click Advanced.
2. To add these items that do not match your database validation rules to your database, select
Include in extraction. There are three options that you can use to clean the data and prevent
issues:
• Auto-populate blank mandatory fields
Allows records to be created without all the mandatory fields being mapped. To allow this, a
default character is inserted into each mandatory field that is blank. This will continue to use
the default value if one has been specified within the field definition or will populate the field
with:
– '-' for text fields
– '0' for number fields
– the current date for date fields
– the current time for time fields
• Truncating text field overflows
Truncates fields that exceed the maximum field length. If this option is not selected, records
with fields that exceed the maximum field length will be marked with validation errors.
• Validate 'Selected from Code List' values
The following messages indicate an issue that prevents an item from being imported:
<invalid value> is not in the The item has information that matches a code
defined list of values for this list field type but the value does not match a
field code list option.
Note: You can turn off the validation of Selected
from Code List value by deselecting the option in
the Validation options dialog.
Invalid date/time entered for <field A field is aligned with an iBase date field but
name>: <invalid value> does not contain a recognized date format.
<invalid value> is not a valid value A field is aligned with an iBase field but does not
for <field name> match the expected data format.
Managing identifiers
When iBase checks for matching records during the extraction, it evaluates each source record by
using identifier fields. If the values in the source record match the values in an iBase record, then the
extraction will suggest that the item is a duplicate.
Procedure
To change the identifiers used to check extracted entities:
1. Click Identifiers.
2. Select the entity type you would like to identify.
3. Select the identifying fields.
4. Click OK, the extracted items will be rechecked for duplicates.
Note: If no identifiers are selected, the imported item will not be checked for duplicate items.
Procedure
To manage potential duplicates:
1. Select an extracted chart item from the list.
2. Review the potential duplicates in the duplicates summary pane.
a) If the duplicate is valid, click Merge to open the Merge Entities dialog.
b) If the duplicate is not valid, you can change the Identifiers to ensure that the correct
information is being used.
3. After you have resolved any duplicates, click Close.
To start the Plate Analysis Task Manager, from where all the Plate Analysis functions can be accessed,
click the Plate Analysis Task Manager icon on the iBase toolbar. The Task Manager is displayed with
the options displayed on the left. Click the name of the function that you want to use.
Geographical Profiling
Geographical profiling enables you to find vehicles, captured by an ALPR system, that were detected
in the vicinity of an event. This gives you the opportunity to carry out searches for vehicles, captured
by a camera, traveling in the vicinity of an event around a specified date and time.
You can compare vehicles recorded near a series of events to establish if any of these vehicles are
common to more than one of the events.
The process of geographical profiling comprises the following steps:
1. Select the events to be analyzed
2. Specify the dates and times of interest
3. Specify the geographical area of interest
4. Examine the number of Plate Analysis reads that are found
5. Analyze the vehicles that are associated with two or more events
There are a number of ways in which the results of the analysis can be stored for further examination.
Geographical profiling has multiple screens, click Next or Back to move between them.
Select Events
The source for geographical profiling is one or more events; for example a series of related crimes or
incidents. The source records must be event entities as specified in the Plate Analysis configuration.
You can specify the source records in one of three ways:
• specify a query that returns event records in the results
• specify a set that contains event entities
• specify event entities individually
In each case, all the event entities must include valid location information in the form of coordinate
data.
Convoy Analysis
Convoy Analysis allows you to search for vehicle co-occurrences. You can detect one or more
unknown vehicles traveling in convoy with known target vehicles. This can help detect:
• vehicles following cash in transit vehicles
• vehicles that were previously unknown, but have been identified traveling with known or suspected
criminals
• vehicles traveling with stolen vehicles that are subsequently used in criminal activity
• compromised covert operations
Source target vehicles can be entered individually or you can use a list stored in a text file (perhaps
generated as a result of “Geographical Profiling” on page 215 for example).
Select the date and time boundaries for the Plate Analysis records to be searched. With this done, the
time between the target vehicle passing a camera and any other co-occurring vehicles passing the
same camera can be set in the time window along with the minimum number of co-occurrences. The
results can be further restricted by choosing to return only the vehicles that co-occur most frequently.
Specify Parameters
Enter the VRMs of the target vehicles that you want to analyze; they can be entered individually or you
can use a list stored in a text file (perhaps generated as a result of “Geographical Profiling” on page
215 for example).
Enter the VRMs in the Target VRMs box, one VRM per line separated by a carriage return. Alternatively
click the Browse button to retrieve VRMs from a text file.
Select the date and time boundaries for the Plate Analysis records to be searched. The date and time
range relates to the times that target vehicles are recorded in an ALPR read. Set a start and end date
and time.
If you only want to consider a certain period each day, for example you may want to analyze Plate
Analysis records between 09:00 and 09:30 each day, turn on the Include records only within these
times check box and set the From and To times below.
Finally set the following options:
Time Window
Set the time window that defines a co-occurrence. For example, if you set a time window of 10
seconds (the default), it means that vehicles recorded as passing an ALPR camera within plus or
minus 10 seconds of a target vehicle are considered to be in convoy. A range of values, up to 5
minutes is available. The larger the time window, the more results you are likely to get.
Minimum Co-occurrences
Set the minimum number of co-occurrences that you want to consider for each target vehicle, you
can set any number between 1 and 10. For example, setting 2 (the default) means that you only
want results where the vehicle has been in convoy with a target vehicle on more than one
occasion. Setting a higher number could reduce the number of results.
Ranked VRMs
You can choose to see all results by selecting All, or you can specify a Number of results to see.
For example if you set the number to 10, you will only see the top ten ranked co-occurring
vehicles, sorted by the number of co-occurrences.
Examine Co-Occurrences
This screen allows you to see how many co-occurrences have been detected; each co-occurring
vehicle is listed along with the number of co-occurrences. If you have no results, or too many, you can
go back and change the parameters by clicking the Back button.
You can see the Plate Analysis records relating to the convoy by selecting one or more groups of
results, and clicking the Show Records button.
Procedure
1. Click Add, and select the set or sets you want to analyze. You can select several sets at once, they
do not have to be added individually. Click OK to select the sets and close the Select Set dialog.
2. Click Generate to create a list of VRMs
Procedure
1. Click Add and, in the Select Set dialog, select the sets you want to analyze. You can select several
sets at once, they do not have to be added individually. Click OK to select the sets and close the
Select Set dialog.
2. Click Find to display a list of VRMs that are included in two or more sets.
3. Select each VRM in turn to see which sets it is included in. The sets that include the selected VRM
are displayed in bold text with a green tick.
When the results are displayed, you can select some or all of the VRMs and copy them to the
clipboard or save them to a text file. For example, if you wanted to use some of the VRMs as target
vehicles for “Convoy Analysis” on page 216, you would select the VRMs of interest, copy them to
the clipboard, and then paste them into the Convoy Analysis dialog. Saving the VRMs to a text file
would allow you to use the list as input to another application for further analysis.
Note: If you want to remove sets from the selection before analysis, select the required set or sets
and click Remove.
Retrieving Images
Sometimes you may want to see camera images that are associated with Plate Analysis records, for
example to confirm that a VRM has been correctly interpreted or that a vehicle matches its
description. Images may be stored as a part of the iBase record, and these may be viewed by showing
the record as usual. However, due to the large number of images that may be collected by the ALPR
process, your system administrator may choose to retain these images in an external ALPR system
and not load them into the iBase database.
For images that are stored outside iBase, an interface is provided through which an external system
can receive requests from iBase Plate Analysis to supply an image so it can be displayed to the iBase
user. The image request will ask for either the number plate image, or the full image of the vehicle.
The picture that is displayed is read only, and there is no facility to save it to an iBase record using this
route.
Note: You will only be able to retrieve and view images stored outside iBase if your system
administrator has set up a link to an external system that stores ALPR records. To check whether your
system has access to images, contact your system administrator.
Viewing Images
When records are displayed, for example in a record list, you can retrieve an associated image by
right-clicking on the record and, from the shortcut menu, selecting Retrieve Image. You will be offered
the option of seeing only an image of the number plate (Plate Patch), or of the whole image (Overview
Image).
Note: If your system has not been configured to show images stored in external systems, an error
message will be displayed.
<<interface>>ANPRExternalInterfaces.tlb::IImageRetrieval
+ShowImage(inVRM : String,
in ImageDate : String,
in ImageTime : String,
in ReadID : String,
in PartialOnly : Boolean)
Procedure
This example program accepts the image retrieval parameters from iBase and displays them to the
user in a modal dialog:
1. Create a new VB ActiveX DLL project. This creates a project called Project1 containing a class
module with the name Class1.
2. Add a reference to ANPRExternalInterfaces to your Project.
3. Add a Form to the project.
4. On the form, create the following controls, and set the design-time properties shown.
Option Explicit
Implements ANPRExternalInterfaces.IImageRetrieval
Private Sub IImageRetrieval_ShowImage(ByVal VRM As String, _
ByVal ImageDate As String, _
ByVal ImageTime As String, _
ByVal ReadID As String, _
ByVal PartialOnly As Boolean)
Dim ImageDisplay As Form1
On Error GoTo ErrorSub
' Code to retrieve the image from the source system and
' display it to the user goes here
Set ImageDisplay = New Form1
ImageDisplay.ShowImageDetails VRM, _
ImageDate, _
ImageTime, _
ReadID, _
PartialOnly
ImageDisplay.Show vbModal
Exit Sub
ErrorSub:
MsgBox "Error:" & CStr(Err.Number) & ":" & Err.Description
End Sub
7. Add the ProgID of your class module to the registry. The following three lines may be saved to a
file with the .reg extension and imported into the registry through the RegEdit program:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\i2\iBase\8\ANPR]
"IR_ProgID"="iBaseANPR_IR.iBaseANPR_IR"
Note: Because of the potentially high number of Plate Analysis records, and the limited number of
Plate Analysis specific fields, the X and Y coordinates for the Plate Analysis entity must be held in the
Plate Analysis entity itself, and not in a separate dedicated location entity. This is not the case for
event entities; events can have the location stored in a specified linked entity.
Event Entity
You can map more than one entity as an event to be used for Geographical Profiling. The appropriate
entity can be selected by the user when running the Geographical Profiling tool.
Note: If you do not specify any event entities, you will not be able to use Geographical Profiling,
however the other iBase Plate Analysis functions will work as normal.
Note: The X and Y coordinates of the event can be taken either from the event entity itself or from a
linked location entity. Many iBase schemas are designed to hold all location/address data, regardless
of the originating entity type, in a single location entity. An example of this would be a particular entity
that is designed to hold personal addresses, business addresses, and event addresses.
Procedure
To set up a mapping configuration:
1. Select Format > Mapping Configurations.
2. On the General page, select the mapping application and enter details of the map.
a) From the Mapping application list, select the mapping application to which you want to send
your data.
b) Define the coordinates of the map that you want to use:
Option Description
Offset An offset is the difference between the origin
(0, 0) position of the x and y coordinates in
your geocode data and the origin used by the
map. For example, if your coordinates are
based on an origin of Washington but the map
uses an origin of New York, then the offset is
the difference between Washington and New
York. Offsets must be specified in the units
that are used in your geocode data and are
multiplied by the factor. The default offset is
0.
Factor Where the units in your geocode data differ
from the units that are used by the map a
factor is applied to scale the x and y
coordinates up or down. For example, if your
coordinates are in kilometers but the map is
in meters enter a factor of 1000. The default
factor is 1.
Min. The minimum x and y coordinates specify the
minimum values for the x and y coordinates.
Any entities or links with coordinates outside
the minimum values are not sent to the map.
The default minimum value for x and y
coordinates is -999999999.
Max. Similarly, the maximum x and y coordinates
specify the maximum values for the x and y
coordinates. Any entities or links with
coordinates inside the maximum values are
sent to the map. The default maximum value
for x and y coordinates is 999999999.
c) To display item labels, turn on Display labels. The default is not to display labels. For more
information about selecting a labeling scheme, see “Changing the display of map items” on
page 231.
3. Define where coordinates are going to be stored:
• If coordinates are stored directly in a record, no further action is required.
Procedure
1. Select the entity types to plot.
2. To define the source of the geocoding data, click the name of the entity type and select
• If your coordinates are stored in the entity, click Location Fields and then select the fields that
provide the x and y coordinates.
• If your coordinates are stored in a linked entity, click Location Entity and then select the link to
the link type that contains the x and y coordinates.
• If a geocoding database provides the coordinates, click Geocoding Fields and then select the
fields in the entity or link that are used to match the records to the geocoding database.
• If the mapping application provides the geocode data, you don't need to specify anything.
For more information, see “Geocode data” on page 230.
3. To display links between plotted entities, turn on Display links. For links to be displayed on a map,
they must exist in the database and must be included in the selected data, for example a query or
set.
Note: Displaying links between plotted entities is not the same as plotting links on a map as
points. To display links between plotted entities no coordinates need to be provided because the
entities themselves provide the locations of the link ends. Links plotted as points, however, require
geocode data to locate them.
4. Click Plot Style to configure the display of entities as icons or points, and to select a labeling
scheme.
For more information, see “Changing the display of map items” on page 231.
5. If you need to send additional data to the map, click Extra Fields to select the required fields.
For more information, see “Sending extra data to the mapping application” on page 230.
Procedure
To configure how links are plotted on maps:
1. Click the Links as Points tab to display the Links as Points page. All of the link types available in
the database are displayed.
2. Select the link types that you want to plot.
3. If you need to define the source of the geocoding data, click the link type and then select:
• Location Fields - If your coordinates are stored in a link, and then select the fields that provide
the x and y coordinates.
• Geocoding Fields - If your coordinates are provided by a geocoding database, and then select
the fields in the entity or link that match the records to the geocoding database.
4. Click Plot Style to configure the display of links as icons or points, and to select a labeling scheme.
See “Changing the display of map items” on page 231.
5. If you need to send more data to the map, click Extra Fields to select the required fields. See
“Sending extra data to the mapping application” on page 230.
Procedure
To specify a geocoding database:
1. In the DB path\name box specify the database that contains the geocode data or browse for it.
The geocoding database must be either an iBase database or a Microsoft Access database.
2. From the Table name drop-down list, select the name of the database table that contains the
geocode data.
3. From the X drop-down list, select the field in the geocoding table containing the x coordinates to
be copied to the corresponding field for matching entities and links.
4. From the Y drop-down list, select the field in the geocoding table containing the y coordinates to
be copied to the corresponding field for matching entities and links
5. Specify fields to accurately locate an entity or link. Typically two fields are required for this. If
necessary, fields 3, 4, and 5 can be used to select other geocoding table fields to match with entity
or link fields:
a) From the Field 1 drop-down list, select the first field to be used to match the entity or link field
to the corresponding field in the geocoding table.
Geocode data
Geocode data can be stored in a number of locations. To ensure that coordinates are detected and
processed correctly, they need to be provided in a supported format.
There are four methods of providing geocode data (x and y coordinates):
• Two fields that contain x and y coordinates can be stored in the entity or link.
• Geocode data can be stored in a linked entity. For example, a person entity that has no geocode
data can be linked to a crime entity that does contain x and y coordinates.
• Geocode data can be located in a geocoding database. For example, an entity or link might contain
fields for the town and street name. When these fields are matched in a geocoding database, the x
and y coordinates are supplied, enabling the entity or link to be plotted to the map.
• Non-geocoded data can be sent to a map and then positioned by using a geocoding database set up
in the mapping application. For more information, see “Setting up mapping configurations” on page
226 for details.
You can use a mixture of these methods.
Procedure
1. In the mapping configuration, click the Entities or Links as Points tab to display the appropriate
page.
2. Click the name of the entity or link type and then click Location Fields.
3. From the X and Y lists, select the fields in the entity or link.
Note: Ignore the Address and Extra boxes. These fields are provided for compatibility with earlier
versions of iBase. If you need to supply extra data to the mapping application, use the extra fields.
For more information, see “Sending extra data to the mapping application” on page 230.
4. Click OK to continue.
Procedure
To configure entity and link types to send extra fields of data from your database:
1. Select Format > Mapping Configurations.
2. Select the mapping configuration. See “Setting up mapping configurations” on page 226.
3. Click the Entities or Links as Points tab to display the appropriate page.
4. Click the entity or link type that contains the required data.
5. Click Extra Fields.
Results
The fields are displayed in the mapping application in the order in which they are listed.
Procedure
1. In the mapping configuration, click the Entities tab to display the Entities page.
2. Click the name of the entity type and then click Location Entity.
3. From the list, select the link type to the entity type that contains the geocode data.
4. Select the entity type at the link end that contains the geocode data.
Note: To identify the coordinates, ensure that this entity type is added to the mapping
configuration. For more information, see “Storing coordinates in records” on page 230.
5. Click OK.
Procedure
1. In the mapping configuration, click the Entities or Links as Points tab to display the appropriate
page.
2. Click the name of the entity type and then click Geocoding Fields.
Note: To use geocoding fields, you must configure a geocoding database in the mapping
configuration. For more information, see “Storing coordinates in a geocoding database” on page
229.
3. From the lists, select the fields in your database to match entities and links to the geocoding
database fields.
4. Click OK to continue.
Procedure
To configure the display options for mapped items:
1. Click the Entities or Links as Points tab, then click Plot Style.
Procedure
To identify the iBase records that are missing geocode data:
1. Select the mapping configuration.
For more information, see “Setting up mapping configurations” on page 226.
2. Click the General tab, turn on Send non-geocoded data, and then click Save.
3. Send the data to the mapping application.
A log file is displayed listing how many records were ignored.
4. To locate these items, look in the mapping application data table.
Procedure
Select Analysis > Mapping > Clean Up.
The Clean Up option only removes the files generated by the interfaces that are installed on your
machine.
Types of field
The fields used to contain the coordinate data must be defined as Real Number type fields. They may
contain the following types of coordinates:
• Latitude and Longitude values, entered in decimal degrees
• Easting/Northing data, entered in meters
These fields will typically be called Latitude and Longitude or X and Y. If you are not sure which fields
you need to use, move the pointer over the field name to see its tooltip, or speak to your database
administrator.
1. Click to the right of the Coordinate type field to display the Coordinate Conversion dialog. If
the format is recognized, the correct coordinate system is automatically selected.
2. Select the datum of the original coordinates if they do not use the WGS 1984 standard.
3. Click Preview. The converted coordinates are displayed, in the Standard Format area, in decimal
degrees using the WGS 1984 standard.
4. Click OK to accept the values.
1. Click the button to the right of the Coordinate type field to display the Coordinate Conversion
dialog.
2. Select the required coordinate system.
The boxes in the middle of the dialog will be updated to reflect the kind of data that the selected
format requires.
3. Enter the values in the relevant boxes, and select any options that are required to identify the
location, for example Northern Hemisphere or Southern Hemisphere or N/S and E/W.
Note: You can also click Clear to delete any entered values and start again.
4. Select the datum of the original coordinates if they do not use the WGS 1984 standard.
5. Click Preview to display the converted coordinates in decimal degrees in the Standard Format
area.
If the value is not recognized, or in the incorrect format, an error message is displayed.
6. Click OK to accept the values.
1. Click the button to the right of the Coordinate type field (above the two coordinate value
fields). The Coordinate Conversion dialog is displayed.
2. From the Coordinate System list, select Auto Detect.
3. In the Coordinates box, enter the coordinate values.
4. Click Preview. If the values are in a legitimate format, the coordinate system will be automatically
selected.
5. Click OK to accept the values.
To convert coordinates
1. Decide on the scope of the bulk conversion. For example, you can convert all the records in the
database or you can restrict the conversion to the records in a query or set. You will convert only
the records that you have access to.
2. To track which records converted successfully, you can create sets that you can review later:
• To obtain a list of failures, turn on the Add records that failed to update check box, and enter
the details of the set.
• To obtain a list of successes, turn on the Add successfully updated records check box, and
enter the details of the set.
3. Click Next to continue.
4. In the Update area, specify whether you are updating latitudes and longitudes or the coordinate
field value as explained in detail below.
5. Select the datum of the original coordinates if they do not use WGS 1984. The datum you select
will be remembered for the next time you use the Bulk Coordinate Converter dialog.
6. Click Next to continue.
7. Depending on the coordinate system:
a. For UTM or UPS coordinates where the hemisphere is not specified, select North or South.
b. For BNG coordinates, select the precision that you want to use (see “Supported coordinate
systems” on page 236 for details).
8. Click Convert to apply the conversion.
Decimal Degrees
Latitude and longitude must be within the range 90 - 90 and 180 - 360.
The flags N, S, E, and W can be replaced by words (North, South, East, and West) when this format is
used: 01.00°X, and 02.00°Y. These values are not case-sensitive.
Decimal Minutes
Decimal minutes is not a natively supported system, so all decimal minutes formats are converted to
decimal degrees and stored in the decimal degrees format.
Latitude and longitude must be within the range 90°S to 90°N and 180°W to 360°E.
The flags N, S, E, W can be replaced by words (North, South, East, and West) for the following formats
(these values are not case-sensitive):
• 01° 02.00’X, and 03° 04.00’Y
• 01°02.00’X, and 03°04.00’Y
The characters that are assigned as the degree and minutes representations must remain constant for
a single set of coordinates. For example:
• 56°45’N 32°14’W is valid.
• 56°45’N 32D14MW is not valid.
As a minimum, there must be a single character between the degrees and minutes if you omit the
degree representation for the following formats:
• -01°02.00’, and -03°04.00’
• 01°02.00’X, and 03°04.00’Y
• X01°02.00’, and Y03°04.00’
If not using the degree representation, use a space instead. For example:
• -1234 8221.4 is not valid.
• -12 34 82 21.4 is valid.
Important: Decimal minutes formatted as minutes are not supported. For example, it is not valid to
format 03° 04.00’Y as 184.00’Y.
About actions
Audit logs are potentially very large files, which the viewer displays as a grid of rows and columns,
where each row represents an action on a database or security file and each column provides a
Procedure
1. When you have started Audit Viewer, select Logon to log on to a security file without opening a log
or archive.
2. Select one of the following commands from the File menu:
Option Description
Open Database Log File Displays the database log for viewing.
View Security Log Displays the security log for viewing.
Open Archive File Displays an archive of an audit log.
Open SQL Server Archive Opens the SQL Server archive database.
Note: You must specify a valid archive database and not a standard
iBase database.
The viewer opens each log or archive in a separate window with a title bar matching the title of the
log or archive. You can maximize the window within the application window. On opening each log
or archive, the viewer displays all of the logged actions today, meaning the day of viewing the log.
Note: Slight differences in the contents of the window occur depending on whether database logs,
security file logs, or archives are viewed.
The grid displays the audit log data, one logged action on each row. For database logs, the columns
in the grid are:
What to do next
You can change the rules used to display the log entries on the Selection Criteria and Actions pages.
To apply your changes, click Refresh.
On the Selection Criteria page, for example:
• You can extend the date range if there is no data shown for today.
• You can view subsets of log data based on various criteria. For example, actions made at a time of
day specified by start and end times, on particular days of the week, or by a specific user.
On the Actions page:
• You can specify which actions are displayed. For example, you might want to know when a database
is opened.
• You can change the type of actions that are available for display by selecting an audit level from the
Display actions for audit level list.
You can use wildcards to include or exclude specific log entries. For example:
• Entering [!user1] in Detail (contains) excludes log entries containing user1 in their Details field.
• Entering [user1] includes these log entries.
Procedure
1. From the File menu, select Logon or Logon As.
Select Logon As if you usually log on using your Windows user name and password but on this
occasion want to log on using an iBase user name and password.
2. In the Security File dialog, browse for the security file to open. The file name will end with .ids.
3. Click Open. The Logon dialog may be displayed if you have an iBase user name and password. If
you use your Windows user name and password, then the dialog is only displayed if you are able to
log on as one of several iBase users.
4. If the Logon dialog is displayed:
• either, enter your iBase user name and password
• or, select the iBase user from the list
Tip: to avoid this step in the future, turn on the Remember my selection check box
5. Click OK to open the security file.
Procedure
To cancel this selection:
1. Start iBase, not Audit Viewer.
2. Log on in the usual way (you do not need to open the database).
3. Select Tools > Options.
4. On the General page, turn off the Remember user for Windows single sign-on check box.
5. Log off.
6. Log on to Audit Viewer and you will then be prompted to select the iBase user log on as.
Procedure
1. Click the Selection Criteria tab to display the Selection Criteria page.
2. Set the date and weekday ranges, time of day, and User ID:
a) In the Between these dates: box, select an appropriate start date. For example, to set a date
two months before today, click to highlight the month part of the date and press the down
arrow key on your keyboard. In the to: box, leave the end date at today’s date
b) In the Between these times: box, enter the time that you want logging to start. For example,
the earliest time you can enter is midnight, which you must enter using the 24-hour system as
00:00:00.
Copying text
To copy text from any of the boxes in the dialog, select the required text, right-click anywhere in that
box, and from the shortcut menu, select Copy. (You can also press Ctrl+C.)
Procedure
If the audit level is now lower than it was in the past, the viewer will not show the actions logged for
higher audit levels. To vary this behavior:
1. Click the Actions tab to display the Actions page.
2. Select the maximum value from the Display actions for Audit Level list.
3. Click Refresh.
Note: If the viewer shows more actions, at least part of the log was recorded at a higher audit
level.
Procedure
To create an audit report:
1. In the Audit Viewer, open an audit log and filter the log using the Selection Criteria and Actions to
determine the contents of interest.
If you regularly filter your audit information in the same way, you can save the filtering options as a
Filter, that can be applied in later sessions.
2. To generate the report, click Action > Report.
3. With the report open, you can use the options in the toolbar to:
• Refresh - check for new actions.
• Print - send the report to a printer.
• Export - save the report as a file compatible with Microsoft Excel (*.xlsx), Microsoft Word
(*.docx), or a PDF document.
Procedure
To save part of the audit log to a new SQL Server database (and then delete those records from the
audit log):
1. Open the database audit log.
2. Select Action > Archive.
3. From the Linked Server Name list, select the machine on which you want to create the new
database.
4. Enter the name of the new database.
5. Enter the name and password for a user who has permission to create databases on this machine.
6. Enter the cutoff date for the archive. All audit log entries before this date will be deleted from the
audit log.
You cannot inspect archived audit logs in Audit Viewer. Use SQL Server to retrieve records from the
archived audit log.
Procedure
1. Open the database audit log or the security log.
2. Select the data that you want to archive.
Important: All the records shown in the grid will be deleted from the database log after archiving.
3. Select Action > Archive.
4. Click Yes to save the displayed records to a new archive file and, when prompted, enter a
descriptive name for the database audit log or security log.
To inspect archived audit logs in Audit Viewer in the same way that you can inspect the original
database or security logs:
5. Select File > Open Archive File and browse for the archive.
Procedure
1. In the Session Defaults dialog, click in the Value column for the row of the field you want to set.
2. Enter or edit the default value, or select a value from the list.
Code Lists
Code lists are the lists that are available when you need to choose from certain predefined values. For
example, for a Person entity type, this could be a list of values for hair or eye color.
There are three types of code list:
• Pick lists (drop-down lists) provide textual values for Selected from Code List or Suggested from
Code List fields.
Procedure
1. Display the Pick List dialog for the pick list you want to edit. From the Edit menu, select Code Lists,
then Pick Lists, then select the list you want to edit.
2. In the Items list, select an item.
3. To edit the item name, click in the Value column and enter the name. You can press the Esc key to
reset the item to its previous value.
4. To edit the item description, click in the Description column and enter the description. Item
descriptions are optional but can help you to choose the right value when entering data in a record.
5. To add a new item, do one of the following:
• Click on the row below where you want the new item, and then click Insert Row. Enter the
name and description in the new blank row.
• Click in the blank row at the bottom of the list. This adds a new item at the end of the list. You
can then use the Move buttons to move the item to where you want it in the list (unless you are
viewing all the items, in which case you cannot reposition the item manually).
Procedure
1. In the Icon List dialog, click the Description box and enter or edit the description. For example, use
this to give a useful hint on where the list is used.
2. Click to select an icon in the left Items list and note its preview to the right of this list. If you want it
to be available in the icon list, click Add to move it to the right list.
3. Click to select an icon in the right list and note its preview to the left of the list. It you want to
remove it from this icon list, click Remove to move it to the left list.
4. Click OK.
Procedure
To edit SCC lists:
1. Click the Description box and enter or edit the description. For example, use this to give a useful
hint on where the list is used.
Procedure
1. In the Pick List dialog select an item from the Items list.
2. To edit the item name, click in the Value column and enter the name. You can press the Esc key to
reset the item to its previous value.
3. To edit the item description, click in the Description column and enter the description. Item
descriptions are optional but can help you to choose the right value when entering data in a record.
4. To add a new item, do one of the following:
• Click on the row below where you want the new item, and then click Insert Row. Enter the
name and description in the new blank row.
• Click in the blank row at the bottom of the list. This adds a new item at the end of the list. You
can then use the Move buttons to move the item to where you want it in the list (unless you are
viewing all the items, in which case you cannot reposition the item manually).
5. To delete an item, select the row and click Delete. You can also right-click, and from the shortcut
menu, select Delete or press the Delete key. If you delete an item that is assigned to multiple
items, you will be given the option of removing the assignments but leaving the item in the list, or
deleting the item altogether.
6. Click OK to confirm your changes and close the dialog.
Option Description
Public Any user can access the folder objects.
Restricted to groups Only users who are in the group(s) can see
these folder objects.
With Restricted to groups selected, check the
Folder Object Control group(s) that you want to
have access— no other groups have access. You
only see the Folder Object Control groups of
which you are a member.
For detailed information, see below About
folder object control groups.
Procedure
To modify the default options:
1. Select Tools > Options > General.
2. Select the options to modify:
Option Description
Default Category To avoid the need to reselect a different category each time, you can set
Name a default category.
Default to 'Public' Access to items in a category can be either public, or private a specific
access user. Private items cannot be listed or viewed by any other user (apart
from the system administrator).
Prompt for category Queries, sets, and definitions are always saved in a category. However, by
when saving folder turning on this check box you can select the category and set the access
objects type.
Procedure
To save an item in an existing category:
1. Click Save. You are then prompted for the item name.
2. Enter the name for the item, which must be unique to the database, and then click OK.
The default category is displayed in the Selected Category box. If the default category is empty
(does not exist yet), it is displayed in brackets next to the text Selected Category.
Note: If you are not prompted to select a category after clicking Save, then you need to follow the
steps in Moving items between categories.
3. Select the category in which to save the item.
Note:
To create a new category, simply enter the names of the categories you want, separated with a
backslash (\). For example: Operation Crest\Unit B\Vehicle Owners
In this example, both the categories for Operation Crest and Unit B will be created for you if they do
not exist.
4. Optional: Restrict who can access the item by clicking Restricted to groups and then selecting the
groups who can access the item.
Option Description
Public Any user can access the items.
Private Only the person who flagged the folder object as private and the system
administrator can see it. For example, unless you are logged on as a system
Restricted to Only users who are in the groups can see these items.
groups
With Restricted to groups selected, check the groups that you want to have
access.
Note: You only see the groups of which you are a member.“Group access to
categories” on page 257
Procedure
To move one or more items to a different category:
1. Select the item or items that you want to move.
Note: To select items from several categories, you need to open the All folder for the item type, for
example All Report Definitions.
2. Right-click on one of the items and from the menu, select Categorize.
3. If you are moving multiple items that are currently in different categories, Change Category is
displayed. Turn on this checkbox to indicate that you want to continue.
Note: You cannot change the category of an item from a public folder to a restricted folder while
another user has that item open on their screen.
4. Specify the category that you want to use.
5. If you do not want to set access control on the items, click OK. If you want to restrict who can
access these items, see“Group access to categories” on page 257.
iBase Settings
You can specify some general settings for how you use iBase in the Options dialog.
To use this dialog, click the:
• General tab to specify some basic settings for using iBase, for example, how you use categories.
These are your own personal settings, they do not affect any other user.
• Charting tab to set defaults that will be used when charting in Analyst's Notebook unless specified
otherwise in a charting scheme or the Charting Settings dialog. These are your own personal
settings, they do not affect any other user.
• Advanced tab to set options that affect just you (the User Settings area of the dialog) as well as all
users of this computer (the options in the Local Machine Settings area). For example, you may
specify the location of the templates folders. See below for details of the permissions required.
General settings
The basic settings on the General page of the Options dialog are described below.
Option Description
Prompt for Category when Saving Folder Objects If turned on, a prompt for a category is displayed
when you save a new folder object (such as a
set).
If turned off, you will automatically save folder
objects in the default category with the default
access type wherever possible. However, the
Categorize dialog will always be displayed if you
belong to more than one folder object control
group.
Maximum number of most recently opened The Most Recently Used list is the list of
databases to show in the file menu databases at the end of the options on the File
menu.
Each time a new database is opened, an entry for
it is placed in the list. Selecting the entry is a
quick means of re-opening the database.
This setting determines the maximum number of
entries there can be in the list. Once this number
is reached, new entries at the top push the
bottom entries off the list.
Number of rows to be displayed in a multi-line This determines the size of the box when
text box entering or editing data in multi-line text type
fields, in terms of the number of lines it can
display.
Open last used database on start-up Turn this on to quickly re-open the database you
opened last, whenever you start iBase.
(You do not have to open this database; a prompt
is displayed which you can use to cancel the
open and select an alternative.)
Prompt to confirm creation of matching records You are always warned when you attempt to save
a record that will create a potential duplicate.
However, you can display an additional prompt
that appears when you click Yes to create the
record.
Remember user for Windows single sign-on Depending how Windows security is set up at
your site, you may be prompted to select the
user to log on as. To avoid repeating this step
each time you log on, you can turn on the
Remember my selection check box in the Logon
dialog. You will then log on automatically in
future sessions.
When you need to log on as a different iBase
user:
• Turn off the Remember user for windows single
sign-on check box, and you will be prompted
again for the user to log on as when you next
log on.
Display dialogs in tabs This option allows you to choose whether new
dialogs appear as tabbed or independent
windows. By default this is set as tabbed.
Use legacy icons This option allows you to change the appearance
of entity icons to display the 8.1 or earlier icon
set. By default the latest icon set is displayed.
Activate global shortcut keys This option allows you to choose whether to use
and potentially customize the use of global
shortcut keys. By default this is turned on.
Option Determines...
Chart pictures to represent entities instead of When an entity is added to a chart and the entity
their icons has a Picture type field, whether this picture field
value is used to represent the chart item (instead
of the entity's icon).
It only has an effect if there are no applicable
Chart Pictures? options settings in the charting
scheme (for the entity type or 'Default') that have
a non-'Blank' setting.
If there is more than one picture type field, the
top field when the entity is open in a Show dialog
is the one used. If you are in doubt, and your
entities are not displayed in a Show dialog (they
may open in a datasheet-based dialog), consult
your system administrator.
Rearrange new items added to a chart (not the How much a chart is re-arranged to
whole chart) accommodate newly added items.
Show toolbar in Analyst's Notebook Whether the iBase toolbar is displayed when
charting iBase data. See About the iBase Toolbar,
Menu, and Palettes for details.
Default Link Label The labels for chart links added from iBase.
The selected option becomes the default
selection in the Charting Settings dialog.
Multiple Link Style How iBase links added to charts are represented
on the chart. The selected option is the default
selection in the Charting Settings dialog.
Advanced settings
The options on the Advanced page in the User Settings area of the dialog affect just you. Because the
options in the Local Machine Settings area affect all users of this computer, your system administrator
may prevent you from changing these settings. See the Administration Center for further details.
Option Description
User Templates Folder Path name of the folder containing templates for
creating new databases. Any user can change
this path.
Command Group File Path name of the Access database that organizes
the iBase command access control.
Icon List File Path name of the file that lists all the available
icons when, for example, you are editing an Icon
List code list.
Workgroup Templates Folder Path name of the folder containing database
templates for use by all users of this machine.
Graphics Folder Path name of the folder containing the icons
used in, for example, the database explorer and
menu items (but not the entity, or entity type,
icons).
Number of records to be displayed before auto- The number of records to be displayed before an
pausing automatic pause. You might see this, for
example, when records are being loaded in a
Browse dialog.
Specify '0' to disable auto-pausing.
Note: Contact your system administrator before
disabling this, or setting it to a high number, as
doing so may result in large numbers of alerts
being raised.
Managing Plug-ins
A plug-in is a software component that extends the basic functionality of iBase. Plug-ins need to be
activated before they can be used. You may want to de-activate a plug-in that you do not use because
it can simplify the user interface and use less computer memory; this will affect all users of this
computer.
Plug-ins that may be installed on your system include:
Plug-in Description
Audit History Viewer See “Viewing the record history” on page 41.
Coordinate Validator See “Converting Coordinates in bulk” on page
235.
Database Subsets See “ Creating database subsets (Microsoft
Access)” on page 165.
Duplicate Checker See “Checking for duplicates” on page 98.
Excel interface See “Exporting to Microsoft Excel” on page 153.
After making changes, you will need to restart iBase or iBase Designer for the changes to take effect.
You can activate or de-activate plug-ins using this dialog.
To manage plug-ins:
1. In the Plug-in Manager dialog, turn on a check box to activate a plug-in or turn off a check box to
de-activate a plug-in.
2. Click OK to confirm your changes and close the dialog.
3. Restart iBase or iBase Designer for the changes to take effect.
Procedure
To define a folder object as a common folder object
1. From the Tools menu, select Common Folder Objects. The Common Folder Objects dialog is
displayed. It lists all the folder objects in the database.
2. In the Types area, select the type of folder object that you want to review. Sets are excluded from
the list because they are dependent on specific records existing in the database. Labelling
schemes are also excluded. The hierarchy of folders and the objects in the All folder are listed on
the right.
• To include a folder object in the template, turn on its check box. When the template is used to
update the schema of another (target) database, the object will be added to the group of
common folder objects in the target database. If the object exists as a common folder object in
the target database already, it will be updated so that it matches the object in the template.
Categories are also copied across so that there is a consistent set for all common folder
objects.
• To exclude a folder object from the template, turn off its check box. The object will be removed
from the template. When the template is used to update the schema of another (target)
database, the object will be removed from the group of common folder objects in the target
database, if it exists. The folder object will still exist in the source database, from which the
template was generated.
If the common folder object has been renamed since it was last applied to other databases as a
common object, this may cause a clash with another object in the target database which has
the new name. In this case, the existing object in the target database is renamed - an
underscore is added as a prefix. During the update process a message will inform you of any
renamed objects in the target database. Renamed objects are easy to identify as they appear at
the top of the list due to the underscore prefix.
3. Click OK to update the common folder objects for this database. You will be warned if a common
folder object:
• is dependent on a set. Sets cannot be saved in a template so you must turn off the check box
for any object that depends on a set.
• is dependent on a folder object that has not been selected as a common folder object (or that
has been deleted).
The setting of these check boxes is saved in the database and redisplaying the Common Folder
Objects will display the common folder objects defined in the database.
Labeling Schemes
Labeling schemes determine how the label that identifies and represents a record is derived from the
fields in the record. For example, person records label might comprise the surname together with the
given name, while for vehicle records the label might comprise the manufacturer, model and
registered number. You can also include 'free text' in the label, text that does not vary between labels.
Procedure
To create a labeling scheme:
1. Select Format > Labeling Schemes > New.
2. Select the entity or link type to label.
3. Display the page for the type of label you want to define.
• Standard for the label to be used within iBase.
• Chart for the label to be used for Analyst's Notebook chart items.
4. Select fields and text you want to include in the label.
Note: You can see a Sample label. Click Next and Previous to change which record the sample is
based on.
5. Repeat these steps until you have defined standard and chart labels for all the entity and link types
as required.
Procedure
1. Select File > New Database Template.
2. In the Template Manager, click New.
3. Browse to the database that you would like to use as the basis for your template.
4. Review the entity and link types to check that you opened an appropriate database.
5. Enter a name for the new database. Choose a name that is suitable for use as a file name.
6. Click OK to create the template.
What to do next
If you create a template from an existing database, create a new database from the template and
check in both iBase Designer and iBase that the new database includes only useful components.
If your organization uses semantic types, check that the IBM i2 Semantic Type Library is up-to-date
and contains no duplicates. If any semantic types are missing, do not create new ones but instead
load them from file as described in Loading the Semantic Type Library.
If there are any inappropriate items, remove the items, then close the database and create a second
template, based on the database that you prepared. You can then discard the first template and
database, leaving you with the second template for ongoing use.
You can copy the template file to other iBase installation folders to make it available to other users.
Procedure
1. Select Tools > Database Design > Semantic Types.
2. In the Semantic Types dialog, click Load.
3. Select the required custom semantic type file (MTC) file, and click Open. The tree view is updated
to show all the semantic types in the library.
Note: If you see any names ending 001, 002, and so on, there are duplicate names for the
semantic types in use in your organization. You need to remove the duplicates created in either
this database or another database. How you do this will depend on which database holds the
central Semantic Type Library for your organization. For details, see Chapter 22, “Maintaining the
semantic type library,” on page 283.
4. If you load the wrong MTC file, click Cancel to remove the library, otherwise when you click OK you
will add the custom semantic types to the current database.
Procedure
To disable the guest account and use an alternative SQL Server user account:
1. Display the Configure Audit History by clicking Database Properties > Configure.
2. Connect to the SQL Server as a user with system administrative permissions. Select Use specific
SQL Server account.
3. Select an Authentication type:
• Windows authentication. Your Windows user account must have the system administrator
permissions.
• SQL Server authentication. You must enter an SQL Server login, and password, that has system
administrator permissions.
Note: You can use either method of connecting to the server, regardless of the security method
that is used in the iBase connection file.
4. Click Connect.
5. In Audit history logging account, select an SQL Server user to replace the guest account.
6. In Authentication with iBase Log Database, enter a certificate password to be used by the SQL
Server to:
• Create the certificate.
• Back up the certificate (the password is required to restore the certificate from the backup).
• Provide the security context for logging audit history.
7. Click OK.
Procedure
1. In iBase Database Configuration, enter the following details and then click Next:
Option Description
Security File Enter the name of the security (.ids) file or the security connection file that
Name secures the database connection file. If you want to change the connection
details for a security connection file, leave Database File Name blank.
Database File Enter the name of the database connection (.idb) file. By entering a
Name database file name, you change the connection details for the database that
contains the entity and link data rather than the security data.
User Name, Enter the user name and password of an iBase System Administrator (that is,
Password a member of an iBase database management group with all permissions
granted).
When you click Next, the connection file is opened, the connection settings are read, and the
database and SQL Server information is displayed.
2. You can change many of the settings, for example if you move the database to another server or
want to change the method of login to an existing server. However, you cannot change the
database type or database name.
Login Name, After selecting a server, you must choose the authentication method to be
Password used for connection to the SQL Server instance. You can use either SQL
Server or Windows authentication:
• To use SQL Server authentication, enter the SQL Server login name and
password. You can enter the details of any user who has the appropriate
access rights on the server.
Use Windows To use Windows authentication, turn on the Use Windows Authentication
Authentication check box. Each iBase session will log on to the database using the Windows
login name with which the user started their Windows session.
Note: The Database Name box displays the name of the Microsoft SQL Server database that the
connection file (.idb file) connects to. It is not possible to change this name. This prevents a user
from connecting to a database where they do not have access by using a connection file for which
they do have access permissions.
3. Turn on the Test connection check box before you save to be informed if the settings do not work.
4. Click Save to update the connection file. A summary of its actions is then displayed. A typical
summary looks like this:
Creating databases
After creating an iBase SQL Server database, the SQL Server login and password are stored,
encrypted, in the connection file (.idb file).
It is your choice whether all iBase administrators who create databases use the same SQL Server
login and password, or whether each iBase administrator has an individual login. Individual logins
make it easier for the SQL Server administrator to trace the owner of a database on the server, so you
might prefer this option if several users are likely to create databases.
Audit levels 1 - 5
Level 1 records the least detail and level 5 records the most detail. The level of auditing is cumulative,
each level records the information for all lower numbered levels. For example, level 3 records queries
and all information specified by levels 1 and 2.
Level Description
1 Logs each time that a user logs in, a database is
opened or closed, or when an email alert is sent.
Note: If the database is configured to audit the
use of commands, or to request a reason for use
of a command, those commands, and reasons
appear at this level. If your SQL Server database
is set up for Audit History, extra logging occurs at
all levels. Also, if an SQL Server database is case-
controlled, the log always records when cases
are added, modified, deleted, renamed, closed,
or reopened.
Attention: Because XML exports can be used to export large amounts of data (potentially all
the records in a database), XML exports are not audited.
Audit history
In SQL Server database, changes to the data in entity and link records, and code lists, can be recorded
if the Audit History is turned on. For audit levels 1 - 4, changes to the data are recorded and
additionally, at audit level 5 record accesses (views) are logged. A reason for an update can also be
recorded as part of the audit log of a record. See Audit History for details.
Note: If you initialize a database for alerting, audit history is automatically turned on. Alerting must be
turned off before audit history can be turned off. The audit history provides the details that enable
users to understand the edits and views that raised the alerts. The same details are displayed
regardless of the audit level of the database. A user who is denied access to the Audit History cannot
see alert details.
Action Description
Choose the initial level of auditing detail for a In iBase, select File > New Database > Details >
new database. Audit Level.
Change the audit level for an existing database. In iBase Designer, select File > Database
Properties > Audit Level.
Audit the usage of selected commands. In iBase Designer, select Security > System
Commands Access Control.
• Selecting any command groups on the Reason
for Action page will prompt the user for a
reason for running the command. After the
user supplies a reason, iBase adds the text to
the audit log (as Detail). This reason will
subsequently be used as a default for all
subsequent reasons within the same session of
work.
• Command groups selected on the Audit page,
record the action without prompting for a
reason or otherwise notifying the user.
Auditing that is configured in this window applies
to particular groups of users, at all audit levels,
and to all databases accessed through the same
security file. For more information, see System
Commands Access Control Groups.
Record the history of changes to individual From the File menu in iBase Designer, select
records in SQL Server databases Database Properties. Use the Audit History
check box in the Database Properties dialog box.
You can also configure Audit History to disable
the Guest account and replace it with an existing
SQL Server account for audit history logging.
For more information, see Audit History and
Configuring Audit History.
Activate case control in a new SQL Server In the iBase window, select Create New
database. Database and click OK. Use the Case Control
option on the Advanced tab of the Advanced
page to set up case control in a new database
before any data has been added to it.
Activate case control in an existing SQL Server From the File menu in iBase Designer, select
database. Database Properties. Use the Case Control
option on the Advanced tab.
You can inspect the detailed definitions of these groups by looking in a supplied, unsecured Access
database, CommandGroups.mdb. This is in the application data area of your installation (see
Installation and Application Data Folders for details). The command groups, their descriptions, and
their definitions are in the _CommandGroup table.
Do not attempt to change these definitions, at least not without obtaining advice from your supplier. If
you make changes to CommandGroups.mdb, then you need to apply it to the current security file by
selecting Database Setup > Update Command Groups from the Tools menu.
Group Description
What is recorded
The following are recorded when a record is updated in iBase:
• Original value
• iBase user who made a change
• Date and time the change was made
• Machine name of the editing user
• OS user name (name of the Windows user)
• Reason for the change
• SCC – needed to ensure that the user only sees the data they should if SCC values are altered during
records history
In the source database, add a folder object and An identical common folder object is added to
define it as a common folder object the target database. If any ordinary folder object
with the same name exists, then the object is not
overwritten but it is renamed by adding an
underscore to the beginning of the name.
Note: The access permission is not copied,
unless you are using iBase database replication.
In the source database, modify a common folder The common folder object in the target database
object is updated to match the definition in the source
database, including any updates to the name or
category. If the common folder object was
renamed in the source database, then any
ordinary folder object in the target database with
the same name is not overwritten. It is renamed
by adding an underscore to the beginning of the
name.
Note: The access permission is not copied,
unless you are using iBase database replication.
In the source database, make a common folder The common folder object is deleted from the
object into an ordinary folder object target database.
In the source database, delete a common folder The common folder object is deleted from the
object target database.
Note: You are informed if any name changes are made during the update process. The renamed folder
objects are identifiable as they appear at the top of any lists (because of the underscore prefix).
i2\i2 iBase <n>\ en-us\ *.idt files (the default workgroup templates
WorkgroupTemplates supplied by IBM and any templates that you
want to make available to all users)
i2\i2 iBase <n>\ en-us\Mapping Mapping configuration files. For information on
the mapping configuration files, see the release
notes for iBase GIS Interfaces.
i2\i2 iBase <n>\ en-us\Scheduler Scheduler.mdb (you can specify an alternative
location)
When assigning semantic types to fields, you cannot assign the same semantic type to two or more
fields in the same entity or link type. See Chapter 25, “Assigning Semantic Types to your data,” on
page 293 for details.
Standard fields
You can use any property semantic type as explained above for Fields. When assigning semantic
types to standard fields, you cannot assign the same semantic type to two or more standard fields
in the same database.
Note: You cannot assign abstract semantic types to database objects— you can only create custom
semantic types from them.
Procedure
1. Select Tools > Database Design > Semantic Types.
2. Load any custom semantic types specific to your organization.
See Chapter 16, “Loading the semantic type library ,” on page 269 for details.
3. Locate the semantic type that is a generalization of the special type that you require. You can do
this by searching for semantic types that have a generalized name.
For example, if you require additional entity semantic types to represent different stolen property
articles, you should derive these custom semantic types from the Property entity semantic type.
4. On the appropriate page, select the generalized type, right-click, and select New.
5. Change the name of the custom semantic type to a name that reflects your usage.
6. In the Synonyms box, enter some other words that have the same meaning, and that you want to
group together under the same semantic type.
For example, synonyms for Location might be Area, Map Reference, Region, and Situation. Enter
these like this (with no space after the commas):
Area,Map Reference,Region,Situation
7. In the Description box, enter some notes on how to use the custom semantic type.
8. Click OK to add the new semantic type as a child of the generalized semantic type. Notice that
the icon changes slightly to indicate a custom semantic type. This allows you to see which are
standard semantic types and which are specific to your organization.
9. Assign the custom semantic type to an item in your database schema in the usual way.
10. When you have finished, click OK.
by clicking .
4. On the Additions and Modifications page, and the Deletions page, review the changes that are
listed. For example, the Additions and Modifications page summarizes the changes made to:
• Entity types and their fields
• Link types and their fields
• Standard fields
• Datasheets
• Pick lists, icon lists, and SCC lists
• Common folder objects (listed separately for each type of folder object)
• Semantic Type Library (but specific changes are not listed)
5. If required, click to save a list of the schema changes in a file that you can print later.
6. Click Update when you are ready to apply the changes. When this is finished, you are warned if any
folder objects were renamed because they have the same name as a common folder object in the
template.
Procedure
1. If this is the first time you have assigned semantic types in this database, you should load the
Semantic Type Library for your organization.
See Chapter 16, “Loading the semantic type library ,” on page 269 for details.
2. Select an Entity Type, Link Type, Field, or Standard Field,
3. In the Semantic Type area, open Select Semantic Type For.
The Search Available Semantic Types box displays the name of the current entity type, link type,
or field. The Ordered Results area suggests some semantic types that may be suitable for
assigning to it, based on a comparison of its name with the name of the semantic type and any
synonyms set up for it. You can review the suggested semantic types by clicking on a result to
display information on the right.
4. If none of the semantic types in the Ordered Results area are suitable, you can search the library.
There are two ways of doing this:
• In the Search Available Semantic Types box, enter the word or phrase that you want to search
on. As you type, possible matches are displayed in the Ordered Results area.
• Browse the semantic types displayed in the tree view.
For detailed information, see Chapter 34, “Searching for semantic types,” on page 311.
Note: If none of the semantic types are suitable, and you are working in the database that contains
the central semantic type library for your organization, you can create a custom semantic type. For
important information on the dos and don'ts of creating custom semantic types, see Chapter 30,
“Defining custom semantic types,” on page 303 and Chapter 22, “Maintaining the semantic type
library,” on page 283.
5. When you have located the correct semantic type:
a) Select it and click OK to return to the Entity Type, Link Type, or Field dialog, which displays the
selected semantic type.
Tip Example
Shorten the displayed text "Documents" to "Document"
Simplify the displayed text "End date" to "date" or "end"
Consider alternative spellings "tire" to " tyre"
5. If none of the semantic types in the Ordered Results area are suitable, you can browse the
semantic types displayed in the tree view.
You may find it easier to browse the semantic types if you first familiarize yourself with the top-
level semantic types and their contents. Click on each semantic type to display a brief description
of how each one is used.
Procedure
To perform a Cyber IP DNS Resolution bulk update:
1. Open the Cyber IP DNS Resolution Bulk Update.
2. In the Record Source area, specify the records that you want to check the entity or link type
against:
• Query - update records included in the results for a query, which you select. The query is run
when you click Update.
• Set - update the records included in a set, which you select.
3. In the Update Options area, choose whether you would like existing values to be overwritten with
the results of the update and select the fields you would like to update:
• Geocode - Uses data files to look up the IP address and provide the associated country,
latitude and longitude.
• Lookup IP Address (using Hostname) - Uses Windows Sockets to determine the IP address.
• Lookup Hostname (using IP address) - Uses Windows Sockets to determine the hostname.
• Lookup Spam Blocklist - look up the IP address and determine if it has been registered as a
spam provider.
4. As a record of the update you can create a new set or append the results to an existing set. This
may be useful later to identify the modified data. Select the Add updated records to a set check
box and either:
• Create new set using the name - enter the set name in the text box provided.
• Append the records to the set - add the records to a set, which you select.
Note: The Add updated records to a set check box will be unavailable if you do not have
permission to create sets.
Property Explanation
Name The name given to a case when it is created.
Case names must be unique across the entire
database.
Records in a case
When a single case is selected by a user, any queries that are run will return results based only on the
records in the current case. Similarly, sets and reports will only include records in the current case.
Whenever a user selects "All records" when logged into a single case, this refers to all the records in
that case only.
When several cases are selected in multi-case analysis mode, then "All records" applies to the
records in all of the cases to which you have access.
Note: In contrast, the alerting Inbox always shows all the user's alerts regardless of the current case.
However, the user can only view the details for an alert when they are logged into the case that
contains the alert definition.
Deleting a case
To delete a case, right-click on the case name in the left or right pane in the Explorer view and select
Delete.
Important: Deleting a case purges (hard-deletes) all records in the case, the audit history for those
records, all alert definitions and any alerts remaining in the alerting inboxes of the subscribers.
Procedure
To create a group:
1. Select Security > Security Manager.
2. Click the Groups tab, and do one of the following:
• Click New.
• Select an existing group and click Edit.
3. In the Group dialog, select a type from the Group Type list.
For details of these groups, see Chapter 43, “Managing security,” on page 331.
Note: The Data Access Control type is only available if Extended Access Control is enabled.
4. Enter a Name for the group, up to 50 characters.
5. If you are defining a Database Management group, set the permissions for the group by turning on
the check boxes for the desired permissions. See Chapter 42, “Checking user permissions,” on
page 329 for a description of these permissions.
6. If you wish to set the membership for the group, click the Users tab and turn on the check boxes
for the users you wish to add as members of this group.
If there are a large number of users, you may find it useful to:
• Display the users who do not belong to the group by turning on the Show Unselected Items
Only check box.
• Add all users to the group by clicking Select All.
• Remove all users from the group by clicking Clear All.
7. Click OK to create the new group.
8. If you have created a System Commands Access Control group or a Data Access Control group,
define the security for the group. For details, see Chapter 45, “Setting up System Commands
Access Control groups,” on page 337 or Chapter 46, “Setting up Data Access Control groups,” on
page 339.
A bulk import specification is the same as any other import specification, with the following
limitations:
• You cannot import picture and document fields.
• There is no user action during the import to confirm matching records.
Delete Entity/Link Records You can delete records that you Once you have added a new
have added. record, you cannot delete it,
either individually or by using
batch delete.
Update/Delete Entity/Link You can edit and delete any You cannot edit or delete
Records created by other users record in the database. records created by other users.
Add Folder Objects You can add new sets, and save You can run queries, reports,
queries, report definitions, and so on, either by using
import specifications, and so on definitions created by other
that you add yourself. users or by using new
definitions of your own. You
cannot save your definitions.
Note: The folder objects actions (as in Add Folder Objects for example) apply to folder objects in
general. There is also access control on individual folder objects based on the membership of Folder
Object Control Groups.
There are three system roles:
• Database Creator
• Database Administrator
• Security Administrator
Note: Audit Administrator is not a system role.
These roles are not modified in any way by the other types of iBase security groups. As supplied,
iBase gives all these roles to members of the System Administrators group, which is suitable where
you intend a small number of people to be able to perform all roles including database design,
security administration, and maintenance of data integrity in operational databases.
It is possible to create groups that partition the overall administration capability. For example, you
can create:
• Database Designers able to create database designs but not access data.
• Security Administrators able to create groups, manage users, and monitor audit logs, but not access
data.
• Database Managers, able to change data and folder objects for the purposes of resolving conflicts,
weeding or archiving old data, and generally maintaining the operational efficiency and relevance of
a live database, but not manage users.
Type Description
Database Management A database management group controls read,
write, update, and delete permissions to, for
example, entities, links, and folder objects. The
properties are set in the Group dialog.
See Chapter 39, “Creating security groups,” on
page 323 for details.
System Command Access Control A system command access control group denies
access to specific iBase commands. This
provides finer control over the actions a user can
perform. Denied commands are typically hidden
from the user. The properties are set in the
System Commands Access Control dialog.
See Chapter 45, “Setting up System Commands
Access Control groups,” on page 337 for details.
Delete Entity/Link Records You can delete records that you Once you have added a new
have added. record, you cannot delete it,
either individually or by using
batch delete.
Update/Delete Entity/Link You can edit and delete any You cannot edit or delete
Records created by other users record in the database. records created by other users.
Add Folder Objects You can add new sets, and save You can run queries, reports,
queries, report definitions, and so on, either by using
import specifications, and so on definitions created by other
that you add yourself. users or by using new
definitions of your own. You
cannot save your definitions.
Note: The folder objects actions (as in Add Folder Objects for example) apply to folder objects in
general. There is also access control on individual folder objects based on the membership of Folder
Object Control Groups.
There are three system roles:
• Database Creator
• Database Administrator
• Security Administrator
Note: Audit Administrator is not a system role.
These roles are not modified in any way by the other types of iBase security groups. As supplied,
iBase gives all these roles to members of the System Administrators group, which is suitable where
you intend a small number of people to be able to perform all roles including database design,
security administration, and maintenance of data integrity in operational databases.
It is possible to create groups that partition the overall administration capability. For example, you
can create:
• Database Designers able to create database designs but not access data.
• Security Administrators able to create groups, manage users, and monitor audit logs, but not access
data.
• Database Managers, able to change data and folder objects for the purposes of resolving conflicts,
weeding or archiving old data, and generally maintaining the operational efficiency and relevance of
a live database, but not manage users.
Procedure
1. Open a database.
2. Select Security > Data Access Control.
3. Use the Security Manager dialog to create one or more Data Access Control groups, and assign
users as members of those groups.
4. Open the Data Access Control dialog. The dialog has two main areas, a list of security groups on
the left and a tabbed area on the right, with tabs for:
Page Notes
Tables List of check boxes and names of all the entity types and link types in the
database. Each name is of the form Type: Name, to show which type it
represents. For example, the names might include Entity: Account.
If a check box is turned on then the named table (all records of that named
entity or link type) or field is denied to members of the selected security
group.
Fields List of check boxes and names for all the fields of all the entity types and link
types in the database. Each name is of the form TypeName: FieldName, to
show which entity type or link type contains the field. For example, the names
might include Account: Account Type. In these pages, standard fields appear
separately for each entity or link type and you can control the appearance of
each standard field independently.
Important: You will be warned if you deny access to a mandatory field (or if
you make a denied field mandatory). If you choose to deny access to this field
(or make a denied field mandatory), you will prevent members of the group
from adding records of the entity or link type.
If a check box is turned on then the named field is denied to members of the
selected security group.
Read-Only If a check box is turned on then the named table (all records of that named
Tables entity or link type) or field is made protected from change by members of the
selected security group.
Read-Only If a check box is turned on then the named field is made protected from
Fields change by members of the selected security group.
Security List of check boxes and names for all classification entries in all SCC code lists
Classification defined in the database.
Codes
If a check box is turned on then all records with that classification are denied
to members of the selected security group. (If any classification name appears
in more than one SCC list, the denial of records applies to all records with that
classification regardless of the list in which it appears.)
Note: If you have opened an Access database, the dialog does not display the Security
Classification Codes tab. This is because iBase does not support this form of control for Access
databases. For this reason, there is some duplication of contents in these tabbed pages.
5. To view the current configuration or to configure a group, first select the group in the Security
Groups list. Then click each tab to see the entries where the check boxes are turned on and, if you
wish, turn on or off various entries.
6. Save the changes.
Results
The specified access will be applied.
Note: The relationship to database contents means that the full definition of a Data Access Control
group is stored in two parts. The name and membership of each group is stored in the security file.
The restrictions on members of each group are stored in the database.
To apply the same control to another database controlled by the same security file, open that
database and with the window of that database active, enter the Data Access Control dialog. Your
security groups will already exist so you need only turn on the same check boxes to apply the same
security.
Procedure
To view a security policy or change its settings:
1. In iBase Designer, Select Security > Security Manager > Security Policy.
2. Enter the requirements for new iBase passwords.
Option Use this option to
Minimum password Enforce a minimum number of characters for the password, 1 - 20
length characters.
Minimum password Prevent the user from changing their password for a specified number of
age days.
Note: This restriction can be overridden by turning on Reset password at
next logon.
Maximum Force the user to change their password after a specified number of days
password age has passed. By default, passwords never expire.
Show password Remind the user to change their password for a specified number of days
expiry reminder before the expiry date.
Enforce password Prevent the user from changing their password back to one used
history previously. The new password is compared to all previous passwords. Set
the passwords remembered option to limit the number of passwords that
are used in validating the new password.
Lock out user after Control the number of times the user can enter an incorrect password
before their account is disabled.
Note: You can unlock the account in the User settings by turning on
Account is active.
Reset account lock- Automatically unlock an account that has been disabled as a result of too
out after many failed logon attempts.
Note: Administrative accounts are automatically reset after thirty minutes.
Note: The changes that you make do not affect existing passwords unless you require users to
change their passwords when they next log-on.
3. Click Apply to save your changes. The changes come into effect when you log off.
4. If you are editing an existing policy, and change the password settings, select whether you want to
force users to change their password when they next log-on.
Option Description
Default Category Name To avoid the need to reselect a different category
each time, you can set a default category. A
category with this name does not have to exist.
In the Default Category Name box, enter the
default name to use.
Prompt for category when saving folder objects Folder objects are always saved in a category.
However, by turning on or off this check box you
can select the category and set the access type
before saving the object:
• Turn on the check box to display a dialog in
which you can select the category and access
type.
Note: When this check box is turned on,
clicking Cancel in the Categorize dialog will
also cancel the save.
• Turn off the check box to automatically save
folder objects in the default category with the
default access type where possible. The
Categorize dialog will always be displayed if
you belong to more than one folder object
control group.
Option Description
Public Any user can access the folder objects.
Private Only the person who flagged the folder object
as private and the system administrator can
see it. For example, unless you are logged on as
a system administrator, private import
specifications belonging to others will not
appear in the All Import Specifications folder.
Note: If you are a member of a folder object
control group, membership of this group may
prevent you from setting the access on folder
objects to private. Access to the object will
always be set to the folder object group. For
detailed information, see below About folder
object control groups.
3. Click OK.
Trademarks
IBM, the IBM logo, and ibm.com are trademarks or registered trademarks of International Business
Machines Corp., registered in many jurisdictions worldwide. Other product and service names might
be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at
"Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.
Adobe, the Adobe logo, PostScript, and the PostScript logo are either registered trademarks or
trademarks of Adobe Systems Incorporated in the United States, and/or other countries.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of Microsoft Corporation in
the United States, other countries, or both.
Java™ and all Java-based trademarks and logos are trademarks or registered trademarks of Oracle
and/or its affiliates.
ArcGIS, EDN, StreetMap, @esri.com, and www.esri.com are trademarks, registered trademarks, or
service marks of Esri in the United States, the European Community, or certain other jurisdictions.
Other names may be trademarks of their respective owners. Other company, product, and service
names may be trademarks or service marks of others.
SC27-5091-00