{'fraction_non_alphanumeric': 0.012539184952978056, 'fraction_numerical': 0.0, 'mean_word_length': 5.259803921568627, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Microtools Based on the Relational Data Model – Conformity between Foreign and Primary Keys

Abstract Tools which support and automate the execution of information processes may be created in a spreadsheet by following the author’s signature concept of “Microtools Based on the Relational Data Model”. While developing them, one must apply adequate solutions enabling representation of identified entities and ensuring data integrity as well as acquisition of the reports and collations assumed to be generated. This article addresses the problem of conformity between values of foreign keys in child entities and values of primary keys in parent entities. Four cases of relationships between a parent entity and a child entity have been discussed. One of the criteria that differentiates between these cases is the occurrence of a simple key or a composite key. Another applicable criterion is the sequence in which data are entered using the tool. With regard to all the identified cases, solutions that support data integrity have been presented and discussed. In accordance with the concept in question, the solutions proposed in the paper make use of standard spreadsheet features and components, without involving any additional code created in any programming language.