Until now I thought I had a fairly firm grasp of Normalization, I am also open to the idea that my problem is ridiculously simple but am so involved with it now I can't see it! (as has happened many a time before).
Situation: -
I am trying to create some sort of to do 'actions' database, there are several different 'types' of action and each 'type' has different 'procedures' available. to summarise: -
Tables
Action Table: action_id, date_entered, date_due
Type Table: type_id, type_description
Procedure Table: procedure_id, procedure_description
ATP Table: action_id*, type_id*, procedure_id*
The Problem: -
Whilst a procedure is dependant on an action_id AND a type_id, the procedures available are narrowed down from purely the type_id. E.g. for an action (e.g. action no1), the user decides on a type (e.g. send email), the procedures available should then be limited to email procedures.
The problem with the tables above is that once an action is chosen ALL the procedures for all types are shown.
Anyone still following this gibberish? If so is this a database design issue or should this be resolved later with the front-end and queries?
Head hurts! Thanks