# Change datafield type

Unfortunately, technical limitations don’t allow you to change the type of a datafield after it has already been created. The best way to do this is to delete the datafield, then recreate it as the proper type.

Taking a consultant’s company number as an example, let’s say you click the “number” datafield type here.

<figure><img src="/files/ooMEpkns2sTFsCsRHZx1" alt="" width="563"><figcaption></figcaption></figure>

To undo your mistake, click on the #consultant hyperlink at the bottom of your edit menu as portrayed below:

<figure><img src="/files/v97nlyIVFeQDUh4CVOrb" alt="" width="482"><figcaption></figcaption></figure>

The new tab that pops up allows you to edit the concept. Navigate to the datafield menu on the right-hand side of the screen, select the datafield “company-number” and click the bin icon:

<figure><img src="/files/voShPtoB5ctsPStdqbpI" alt="" width="563"><figcaption></figcaption></figure>

If you then navigate back to the clause you were editing originally, you will see that the datafield is again unrecognised by ClauseBase, allowing you to recreate it as you see fit:

<figure><img src="/files/n1lkEJFRmFnwT5gaxjvh" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.clause9.com/datafields/how-to-datafields/change-datafield-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
