Update Records - Synonyms to accepted binomials

Please read the whole page before continuing.

This UPDATE query updates records where a synonym is recorded, with the current, accepted binomial. MapMate prefixes synonyms, which includes trinomials (subspecies, forms, varieties and aberrants), with '=' and refers the synonym to the binomial.

The query was tested on a database of 60,000+ records, and successfully updated 4 records that fitted the criteria.

The query will only update records owned by the current "Centre".

Only run this query if you are absolutely sure you wish to update all synonymised records with the accepted binomial.

Examples

You MUST ABSOLUTELY take a system backup via the replicator, or at the very least make a copy of your Records table in your My MapMate\Data\Records folder before running this query. If you choose to copy the Records table to "Records - Copy", it will be easy to revert it back to "Records", if required.

To create the new query:

UPDATE Records INNER JOIN [Taxa\Default] ON Records.[*Taxon] = [Taxa\Default].[_guk] SET Records.[*Taxon] = [Taxa\Default].[**RefersTo], Records.[_gen] = -val([thisgen]) WHERE Records.[*Taxon] <> [Taxa\Default].[**RefersTo] AND Right(Records.[_guk], 3) = [thiscuk];

The query requires no user parameters. When the query is run, you will be advised how many records are affected.

To confirm changes:

You may need to rebuild your atlases to effect changes.