R
Rick Neal
I ask this question due to remarks I saw in relation to
another question on these boards.
In my current application I have a child table based on
two parent tables. Therefore when I append data to this
table I uses a concantonated Text string to create unique
values based on one of the parent tables.
For instance...
Each Customer has multiple employees processing different
phases of the customers transaction.
So my field is a concantonation of the two other key
fields.
[Transaction#] & [Trans Processing Phase]
Due to the logic of the application I cannot allow
duplicate Processing phases on one transaction, so my
solution was to concantonate the two fields into one
unique primary key for the child table.
Is this bad design? and if so Is there a better way?
another question on these boards.
In my current application I have a child table based on
two parent tables. Therefore when I append data to this
table I uses a concantonated Text string to create unique
values based on one of the parent tables.
For instance...
Each Customer has multiple employees processing different
phases of the customers transaction.
So my field is a concantonation of the two other key
fields.
[Transaction#] & [Trans Processing Phase]
Due to the logic of the application I cannot allow
duplicate Processing phases on one transaction, so my
solution was to concantonate the two fields into one
unique primary key for the child table.
Is this bad design? and if so Is there a better way?