Alright, so allow me to explain this with the least amount of information necessary to explain my need in order not to circumvent the topic. And again, hello everyone - long time reader, recent registrant.
Let's assume the following data/tables are how I have my database setup.
Tables
[tblClients]
ID - Autonum
Name - Text
Categories - Text
[tblCategories]
ID - Autonum
Category - Text
Description - Memo
##########
Relationships
[tblClients].[ID] -> One-To-Many <-[tblCategories].[ID]
###############
Example Table Data
tblClients
ID
Name
Categories
1 John T1, A22, IB22, 11 2 Sam L23, K2, TPC9, B9 3 Adam T1, K2, TPC8, L23
tblCategories
<Description will have rich text formatting.>
ID
Category
Description
1 T1 Test 2 A22 Test 3 IB22 Test 4 11 Not cool enough to be 12. 5 L23 This is L23, yay! 6 K2 Test 7 TPC9 Test 8 B9 Test 9 TPC8 Test
Alright, so here's my problem - in the tblClients categories column, each row contains a series of comma-separated values (stored in the "Categories Column") that correspond to the tblCategories.Category column which houses a description for each value. What I need is a method to hyperlink these individual values in the tblClients.Categories field to a form that will filter depending on what value you click to display the description.
For example:
tblClients
ID
Name
Categories
1 John T1, A22, IB22, 2 Sam L23, K2, TPC9, B9, A22 3 Adam 11, K2, TPC8, L23
Upon clicking on one of the values, such as "L23" or "11" - a form would popup and display the following:
Category: 11
Description: Not cool enough to be 12.
Category: L23
Description: This is L23, yay!
Making the form popup isn't my issue but grasping the method at which I will link the data is where I am lost. My database is normalized with a surmount of unending relations (which is why I didn't want to get into that part.) but the reason why I have comma-separated values in a table is because the information stored in my table is actually US Department of Transportation hazardous material codes that MUST remain in the formatting that they're in. Each record may have up to 40 different codes specifying US regulation and provisions to be referenced and they're all separated by commas so moving this data elsewhere doesn't seem like a time-effective or practical matter.
Do any of you have any advice on the terminology I should use when searching for something of this particular nature? I've tried looking up table to table hyperlinking as well as various other clues to no avail. If you have any resources that I can read that you believe would benefit me in my quest for knowledge, please let me know! And ofcourse, thank you all for your effort to provide support - you are the reason why I have a job.![]()