Showing categorization data from another table in Local System Table display

I'm creating a custom system table for some data which has two levels of grouping, and I would like to be able to have both levels displayed in System Table Maintenance. What I'm doing is something like this:

I have three tables. Let's call them:

LTR_Data --This is the table where we will be entering the data.

LTR_Data_Type --This is the table that stores the first level of categorization.  LTR_Data has a required column which stores a foreign key for this table.

LTR_Data_Type_Category --This table categorizes Data Type. LTR_Data_Type has a required column which stores a foreign key for this table.

Dealing with the data in LTR_Data will be much easier if I can sort the table not just by Data Type, but also by Data Type Category. The only solution that I can think of is to include a column in LTR_Data for Data Type Category, make it not editable on the front end, and create a trigger that updates the Data Type Category value whenever anything else in the row changes. But that seems a bit clunky. Is there a better way? For example, can I set something up in TR_REFERENCE_COLUMN that will do the trick?

Parents Reply Children
No Data