# Clear unused Dictionary fields

**URL:** <https://clarionhub.com/t/clear-unused-dictionary-fields/8721>\
**Category:** questions\
**Tags:** dictionary\
**Created:** [October 22, 2025, 7:48pm UTC](https://clarionhub.com/t/clear-unused-dictionary-fields/8721 "2025-10-22T19:48:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThalesSilveirs](https://clarionhub.com/user_avatar/clarionhub.com/thalessilveirs/32/3642_2.png) [@ThalesSilveirs](https://clarionhub.com/u/ThalesSilveirs)\
**Post date:** [October 22, 2025, 7:48pm UTC](https://clarionhub.com/t/clear-unused-dictionary-fields/8721/1 "2025-10-22T19:48:26Z")

</div>

Is there any way to filter, or any way to know which fields in the dictionary are just there unused?

---

<div class="post-metadata">

**Author:** ![Nardus\_Swanevelder](https://clarionhub.com/user_avatar/clarionhub.com/nardus_swanevelder/32/1066_2.png) [@Nardus\_Swanevelder](https://clarionhub.com/u/Nardus_Swanevelder)\
**Post date:** [October 22, 2025, 8:00pm UTC](https://clarionhub.com/t/clear-unused-dictionary-fields/8721/2 "2025-10-22T20:00:54Z")

</div>

No easy answer

> [@Tool to find unused variables/files/procedures in my app](https://clarionhub.com/t/tool-to-find-unused-variables-files-procedures-in-my-app/6842):
>
> Hi I know some tool in the past would have scanned clw/app/txa files and displayed details about your app, like unused variables/files/procedures. Does anyone know of something current? Regards Nardus

---

<div class="post-metadata">

**Author:** ![RchdR](https://clarionhub.com/letter_avatar_proxy/v4/letter/r/d78d45/32.png) [@RchdR](https://clarionhub.com/u/RchdR)\
**Post date:** [October 24, 2025, 7:47am UTC](https://clarionhub.com/t/clear-unused-dictionary-fields/8721/3 "2025-10-24T07:47:11Z")

</div>

Fields I suspect are no longer used, either from the Dct or local procedure variables, I append with \_OLD.

If Embed code refers to the variable name with \_OLD, it throws a compiler error.

If a screen or report control is using a variable with \_OLD, it shows up in the resultant CLW file, which can be found using a Find in Files search.  
The C6 IDE, File, Search, \_OLD in \*.clw’s, and Notepad++, Search, Find in Files option, both do a find in files search.

Caveats. May not work for deep assignment eg Prefix:Record :=: AnotherPrefix:Record.
