Hi Andrew,
It's really hard to imagine a functionality, that you
want to have, from your description, and code, that does not do what
you want. ...
So it would be nice to get a minimal testcase,
that also includes a data tiddler. So we don't need to guess and invest time to find out how it may look like, reverse engineering the
code. ...
I may have created something similar some time ago, for
a video HowTo series. There is a bundle, that you can download and play with. ... The functionality, that may be interesting for you is described in video 12 and 13 that deals with a data dictionary.
video 12 is ~5min long, and describes the functionality. ... So if this is interesting for you, you can have a closer look at vid13.
video 13 is 15min and describes the code in detail.
have fun!
mario