RainLover
VIP From a land downunder
- Local time
- Today, 19:48
- Joined
- Jan 5, 2009
- Messages
- 5,039
My data is separated into different tables, with relationships between them, using PKs and FKs. Each level has it's own table.
For example:
tblcat1
Cat 1 ID PK
Cat 1 ID
Cat 1 Description
tblCat2
Cat 2 ID PK
Cat 2 ID
Cat 2 Description
Cat 1 ID FK
tblCat3
Cat 3 ID PK
Cat 3 ID
Cat 3 Description
Cat 1 ID FK (I realize this probably didn't need to be added in here)
Cat 2 ID FK
I think you have a good approach. Your original question was about data type and I believe that this should be number.
With your tables above, I would remove all the Foreign Keys and create a Fourth Table with the three FKs in separate fields.
Then you just need to format and concatenate the result. Do you have a problem with that. If so I can post the string.