Is there any way to filter, or any way to know which fields in the dictionary are just there unused?
No easy answer
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.
2 Likes