Skip to Content

Database Setup

The Database Setup dialog provides advanced control over database configuration, including field mapping, index file management, and primary/secondary database switching.

When to Use Database Setup

Use the Database Setup dialog when you need to:

  • Configure field mappings for custom database formats
  • Work with legacy database files (dBase, Access, Excel)
  • Set up index files for dBase databases
  • Configure primary and secondary databases
  • Save or load database profiles
  • View available fields in a database

For simple setup: Use the Database Wizard for USCF, CFC, or FIDE databases. It’s easier and handles configuration automatically.


Accessing Database Setup

Menu Path: Database > Database setup…


Dialog Overview

The Database Setup dialog has several main sections:

SectionPurpose
Database FileSelect the database file to use
Primary/SecondarySwitch between primary and secondary database
Field MappingsMap database fields to SwissSys player data
Index FilesConfigure index files (dBase only)
Action ButtonsApply settings, load/save profiles, view fields

Selecting a Database File

Browse for a Database

Click Browse

Click Browse… next to the Database file field.

Navigate to your database file location.

Select File

Select the file and click Open.

Supported File Types

ExtensionTypeNotes
.rbin.gzBinary ratingModern format, recommended
.rbinBinary ratingUncompressed binary
.tsvTab-separatedText format
.csvComma-separatedText format
.txtTextFIDE, USCF joint list
.dbfdBaseRequires index files
.xls, .xlsxExcelRequires Access Database Engine for .xlsx
.mdb, .mdeAccessMicrosoft Access

Auto-Detection

When you browse for a file, SwissSys may:

  • Detect the database format automatically
  • Offer to apply appropriate defaults
  • Validate binary database headers
  • Check dBase field names for known patterns

SwissSys recognizes common database patterns and offers to apply the correct defaults automatically.


Field Mappings

Field mappings tell SwissSys which database fields correspond to player information.

Available SwissSys Fields

SwissSys FieldDescription
SectionSection/category name
NamePlayer’s full name
ID numberPrimary ID (e.g., USCF ID)
ID #2Secondary ID (e.g., FIDE ID)
RatingPrimary rating
Rating #2Secondary rating (e.g., quick)
Rating #3Third rating (e.g., blitz)
ClubClub affiliation
TeamTeam name
TitleChess title
AgePlayer age
SexPlayer gender
ClassRating class
BirthdateDate of birth
Fees1-3Fee-related fields
AddressStreet address
CityCity
StateState/province
ZipPostal code
Expired 1Expiration date 1
Expired 2Expiration date 2
PhonePhone number
EmailEmail address
ByesBye preferences
Brd orderBoard order
HandleOnline handle/username

Setting Field Names

For editable databases (dBase, Access, Excel):

Type Field Names

Type the field name directly into each box, or

Use Field List

Click Display field list… and drag fields to the boxes.

Match Exactly

Field names must match exactly (case-insensitive).

For read-only formats (binary, text):

  • Field mappings are fixed and cannot be changed
  • Gray background indicates read-only fields

Using the Field List

Display Available Fields

Click Display field list… to see all fields in your database.

Review Field Names

A list shows all fields with their exact names.

Drag to Map

Drag a field from the list to a field mapping box to automatically fill it in.


Applying Default Field Mappings

Click Choose Defaults to access preset field mappings:

PresetUse For
USCF JointUSCF joint player list (.txt)
USCF GoldenGolden/TA format dBase (MEM_NAME, MEM_ID fields)
USCF TARSFLEUSCF TARSFLE format dBase (R_MEM_NAME, R_MEM_ID fields)
CFCChess Federation of Canada databases
FIDEFIDE text databases

When Defaults Are Offered Automatically

SwissSys detects and offers defaults when:

Binary databases (.rbin, .rbin.gz):

  • Validates header and offers federation-specific defaults

dBase files (.dbf):

  • Scans field names to detect USCF, Golden, or CFC patterns
  • Offers appropriate defaults based on detected pattern

Access files (.mdb, .mde):

  • Offers CFC defaults if appropriate structure found

Text files (.txt, .tsv):

  • Checks for USCF TSV format headers

When defaults are offered, click Yes to accept them. This saves time and ensures correct configuration.


Index Files (dBase Only)

dBase (.dbf) files require two index files for fast searching:

IndexPurposeField
Name indexSearch by player nameTypically the name field
ID indexSearch by player IDTypically the ID field

Binary format databases (.rbin.gz) do not require index files. This section only applies to legacy dBase format.

Specifying Index Files

Enter Name Index

Enter the filename in Name index file (e.g., TARSUPLF.NDX).

Enter ID Index

Enter the filename in I.D. index file (e.g., TARSUPID.NDX).

Index File Requirements

  • Extensions must be .ndx or .ntx
  • Filenames cannot exceed 19 characters
  • Files must be in the same folder as the database

Creating Index Files

If index files don’t exist:

Configure Field Mappings

Set up your field mappings in Database Setup.

Apply Settings

Click OK - Apply.

Create Indexes

When prompted, click Yes to create index files, or

Use Create Index Menu

Go to Database > Index… later to create them.


Primary and Secondary Databases

SwissSys supports two simultaneous databases for cross-referencing ratings.

Switching Between Databases

Select Database Type

Use the Which database is this? radio buttons.

Choose Primary or Secondary

Select Primary or Secondary.

Configure Settings

Configure the selected database’s settings.

Apply Changes

Click OK - Apply to save.

Swapping Databases

Click Swap to exchange primary and secondary databases instantly.

Rules

  • Primary and secondary databases cannot be the same file
  • Each database maintains its own field mappings
  • You can use different formats (e.g., USCF primary, FIDE secondary)

Saving and Loading Profiles

Database profiles save all field mappings for reuse.

Saving a Profile

Configure Mappings

Set up your field mappings as desired.

Click Save Settings

Click Save settings….

Choose Location

Choose a location and filename (.dbp extension).

Save Profile

Click Save.

Loading a Profile

Click Load Settings

Click Load settings….

Browse to Profile

Browse to your .dbp profile file.

Open Profile

Select it and click Open.

Field mappings are restored from the profile.

Profile Contents

Profiles save:

  • Database file path
  • All field mappings
  • Index file names

Tip: Save different profiles for different database types (USCF, CFC, custom club database) for quick switching.


Common Tasks

Setting Up a Custom Database

Open Database Setup

Go to Database > Database setup…

Browse for File

Click Browse… and select your file.

Display Fields

Click Display field list… to see available fields.

Map Fields

Drag fields to the appropriate mapping boxes.

Configure Index Files

For dBase files, configure index files.

Apply Settings

Click OK - Apply.

Fixing “Missing field” Errors

If you see “Missing field in database: [FIELDNAME]“:

Check Spelling

Verify the field name is spelled correctly.

Display Field List

Use Display field list… to see actual field names.

Correct Mapping

Correct the field mapping, or

Ignore Error

Click Ignore to continue without that field.

Changing Rating Sources

To use a different rating field:

Open Database Setup

Go to Database > Database setup…

Change Rating Field

Change the Rating field to your preferred rating field.

Apply Changes

Click OK - Apply.

For more control over which rating types are used during registration, see Rating Configuration.


Troubleshooting

”Database must have an extension”

Error: Database files need a file extension (.dbf, .txt, etc.).

Solution: Ensure your file has the correct extension.

”Unrecognized database type”

Cause: SwissSys doesn’t recognize the file format.

Solutions:

  • Check that the file extension is correct
  • Verify the file is a supported format
  • Ensure the file isn’t corrupted

”Database paths must not contain any commas”

Cause: dBase files cannot be in folders with commas in the path.

Solution: Move the database to a folder without commas in its path.

”Index file name error”

Cause: Index file name doesn’t meet requirements.

Solutions:

  • Ensure filename is 19 characters or fewer
  • Use .ndx or .ntx extension
  • Place files in same folder as database

Fields are Grayed Out

Cause: This indicates a read-only format.

Explanation:

  • Binary databases (.rbin, .rbin.gz) have fixed schemas
  • Text databases (.txt, .csv, .tsv) have fixed field positions
  • These formats don’t require field mapping configuration
Grayed-out fields are normal for binary and text formats. No action is needed.

Advanced Configuration Tips

Using Custom Databases

For club or school databases:

Create Spreadsheet

Create an Excel or CSV file with columns for player data.

Use Clear Headers

Use clear column headers (Name, Rating, ID, etc.).

Load in Database Setup

Use Database Setup to load the file and map fields.

Test Thoroughly

Test by searching for several players to verify mappings.

Multiple Database Configurations

To manage multiple databases:

Configure First Database

Set up your first database completely.

Save Profile

Save the configuration as a profile.

Configure Second Database

Switch to a different database and configure it.

Save Second Profile

Save this configuration with a different name.

Switch Quickly

Load saved profiles to switch between databases instantly.

Network Database Setup

For network/shared databases:

  • Place database file on network drive accessible to all computers
  • Configure database path using UNC path (\server\share\database.rbin.gz)
  • Binary format works best for network access (no file locking issues)
  • Avoid dBase format on networks (index file locking problems)

See Network Mode for real-time database updates.


See Also

Last updated on
See something that needs updating? .