Import contacts¶
ADIF import adds contacts to the open contest database. Choose the receiving contest before importing; an exchange's interpretation depends on that contest.
Import an ADIF file¶
- Preserve the original file and back up any receiving contest that already contains contacts.
- Create or open the intended contest. For a migration trial, use a separate empty contest.
- Choose File → Import → ADIF and select the
.adior.adiffile. - If the receiving log is not empty, review the prompt asking whether to append imported QSOs. Cancel if this is not the intended destination.
- Review the completion counts and any failures, then check representative calls, dates/times, bands, modes, and exchanges in the log.
- Export the resulting contest and compare important fields with the source, especially contest-specific exchanges and multi-location contacts.
The importer collects contacts and writes the batch in one database transaction. A database write failure rolls back that batch, leaving the receiving log unchanged. This does not mean every malformed line is imported: incomplete or malformed input can be skipped and reported. Read the completion counts and skipped-record report, then compare the result with the original file. A successful import rescores and reloads the log.
The import report also names unrecognized CONTEST_ID values. Check those records and the intended contest before exporting or submitting the resulting log.
Avoid accidental duplicates¶
The append prompt is not a promise that repeated imports are automatically deduplicated. Keep track of which source files have been imported and check the log before repeating an import. The importer has contest-specific handling, including county-line contacts; unusual repeated calls may be legitimate and need inspection rather than blanket removal.
Bringing a 4.x log forward¶
Export ADIF from the old installation, preserve the original contest folder, and import into a separate correctly selected contest in the new build. The source explicitly supports ADIF import without requiring a .TRW file beside it.
The opening picker also recognizes legacy configurations where no matching database exists, as described in Moving from 4.x. That path should be tested on copies. Neither contact import nor INI-to-JSON conversion by itself proves that all messages, station settings, categories, and contest-specific configuration have migrated.
This guide does not establish a Cabrillo-import command. Cabrillo appears here as an export/submission format.
Source check
MainUnit.pas, ImportFromADIF, supplies the picker, append prompt, batch transaction, skipped-record report, and rescore/reload. uADIF.pas supplies parsing. Tests include uTestLogImport, uTestLogRepository, and ADIF fixtures. No user log was imported for this page.