In my solution, I have a table that lists all possible errors, and each of them have a unique ID like ERR001.
I have another file containing a dictionary table with global fields that corresponds to the error messages and are filled according to the language of the user. For example, this table has a field ERR001 that will contains the message to be displayed when error number 1 occurs.
I would like to have a field in the Error table that is the error message from the correct Dictionary field, based on the ID of the error record.
What I would like to do is something like D::$ID, where D is the Dictionary table and $ID is the ID of the error.
I tried using getField but I could not make it work using a reference in another file.
Any tips would be appreciated