Rules for merging databases
The merge process applies rules to each type of record, which determine the tables, records, and values that are used in the merged database, especially when duplicates or near-duplicates are used in both source databases.
Generally, the new database will use the values from the first database in the list of databases you select for merging if subsequent databases contain duplicates. In some cases, group records (such as group assemblies, crews, and rate tables) in the merged database can appear to be sorted incorrectly because of the renumbering method used during the merge. Where there is a conflict between a group record and a non-group record, the non-group record is used in the merged database, and the group record is renumbered.
For information about when records are considered duplicates and what records are merged in the new database, click the record types below.
-
Addons
Addons are duplicates if they have the same addon number, description, and cost basis. If only the numbers match, the merge process assigns the next available number before adding the addon to the new database.
Renumbered addons, and addons that cannot be renumbered, are identified in the merge log file.
-
Assemblies
Assemblies are matched by name, description, group setting, and number of details.
Then, assembly details are compared, in their original order, and matched by type, phase/item, item table, or selection at takeoff. For item assembly details, either the item table names or the phase codes and item codes must match.
If only the names match, the merge process renumbers the assembly before adding it to the new database. The new name is the original name with a numeral at the end (characters are removed from the right if necessary). For example: 1000 CONC becomes 1000 CONC1.
Important! If the name of a group assembly record is the same as an assembly record (non-group), the group assembly record is renamed by appending the next available group number, regardless of the order in which the databases are listed. To avoid unexpected results in the merged database, make sure that duplicate names do not exist for group and non-group records among the databases you are merging before you merge databases.
Renamed assemblies are identified as such in the log file.
-
Factor table
Only the values from the first database are merged.
-
Crew Info (_CrewCalc Table)
Only the values from the first database are merged.
-
Crews
Crews are duplicates if they have the same name, description, group setting (for example, if both are group crews or both are regular crews), number of resources, and resources (including quantities).
If only the names match, the merge process renames the crew before adding it to the new database. The new name is the original name with a numeral at the end (characters are removed from the right if necessary). For example: ConcForm becomes ConcForm1.
Important! If the name of a group crew record is the same as a crew record (non-group), the group crew record is renamed by appending the next available group number, regardless of the order in which the databases are listed. To avoid unexpected results in the merged database, make sure that duplicate names do not exist for group and non-group records among the databases you are merging before you merge databases.
Renamed crews are identified as such in the log file.
-
Default spreadsheet sort sequences
Only the values from the first database are merged.
-
Formulas
Formulas are duplicates if they have the same name (including capitalization) regardless of the actual equation.
If a formula is replaced by a duplicate record with a different equation, the old and new equations appear in the merge log file.
-
Formula tables
Formula tables are duplicates if they have the same name, regardless of the contents of the table itself.
-
General settings
Only the values from the first database are used in the merged database—except for the default total Totals template, which uses the first non-blank reference.
-
Item sort sequences
Only the values from the first database are merged.
-
Items
Items are duplicates if they have the same phase/item code.
The merge process preserves price links.
-
Item tables
Item tables are duplicates if they have the same name and column selector.
-
Material classes
Material classes are duplicates if they have the same BOM descriptions (including capitalization).