---
title: "Discussion on \"OOPS! Type of key field cannot be automatically split!\" | Hashnode"
description: "Discussion on \"OOPS! Type of key field cannot be automatically split!\". While working with a card that consists of a header and lines, I encountered a frustrating error today. Although I had previously solved this issue through trial and error, I found myself facing it again. In this article, we will explore the scenario..."
url: "https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [OOPS! Type of key field cannot be automatically split!](https://muriungimartin.hashnode.dev/oops-type-of-key-field-cannot-be-automatically-split?utm_source=hashnode&utm_medium=feed)

While working with a card that consists of a header and lines, I encountered a frustrating error today. Although I had previously solved this issue through trial and error, I found myself facing it again. In this article, we will explore the scenario...

May 22, 2023 · 2 min read · muriungimartin.hashnode.dev  
Read the article

-   [#business-central](https://hashnode.com/tag/business-central)
-   [#dynamics365](https://hashnode.com/tag/dynamics365)

## Written by

[Martin Muriungi](https://hashnode.com/@muriungimartin)

@muriungimartin · Nairobi, Kenya

  
[View profile](https://hashnode.com/@muriungimartin)

Software engineer. Microsoft Dynamics 365 Developer

## Responses 2

Markdown supported · ⌘↵ to post

[Armonds Kursis](https://hashnode.com/@Armondz)

[Jul 24, 2025](https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab/comment/6881d533d3081c71fb48ce74)

To not change key you could explicitly set AutoSplitKey = false; for subpage

[Bruno Filipe Fernandes Alves](https://hashnode.com/@BrunoAlves5)

[Oct 17, 2023](https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab/comment/652e99ba10ce1729cebac9b2)

I don't understand why you need AutoCalcFields set to true. Am i missing something?

[Martin Muriungi](https://hashnode.com/@muriungimartin)

[Oct 17, 2023](https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab/comment/652e99ba10ce1729cebac9b2#reply-652e9f967fb06929fec68659)

I didn't have autocalcfields in this case

[J. Mabiopkeg](https://hashnode.com/@demabio)

[May 23, 2023](https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab/comment/646c02325ccc6321b704444b)

This was very thoughtful Martin. Thank you

[Martin Muriungi](https://hashnode.com/@muriungimartin)

[May 23, 2023](https://hashnode.com/posts/oops-type-of-key-field-cannot-be-automatically-split/646bd1cd9f623b3585d48cab/comment/646c02325ccc6321b704444b#reply-646c50525ccc6321b7044a99)

Welcome
