T
tlyczko
Hello,
I work in a non-profit agency, and one database covers clients, staff,
and locations (we have many locations, programs, facilities, etc.)
The problem is similar in all three categories: how to structure the
table or field design to accommodate 'exceptions' or 'nuances' in the
data??
For example, for staff, normally it would be last name, first name,
such as Jane Doe, John Smith, etc. Same for clients.
However, for various reasons, sometimes the 'staff' is something like
'John Doe Family', or 'Physician,' or 'Company Name'.
Obviously those don't fit into something like a 'staff name.' We have
similar problems with client data, where the client's name may not be
known (could use 'Unknown') or there is no client name available at all
but the client name is a required field, so we type something like
'Facility, Reportable.'
What is the best way in terms of table/field design to handle these
recurring exceptions/nuances in the data??
Should I allow only specific types of phrases (my solution so far),
create new/additional fields in the table to hold entries like this
(makes queries way more complicated!), create new tables (makes for a
lot of union queries etc.!), what??
Should the data entry form be modified to have the user do something
different when one of these data entry cases occurs?? (This is not
ideal because the data entry is already complicated enough, smile!)
How have you solved similar problems??
Can anyone point me to a website, book, anything, that discusses these
kind of table/field design problem?? (Most db design books I've seen
don't talk about stuff like this.)
Thank you, Tom
I work in a non-profit agency, and one database covers clients, staff,
and locations (we have many locations, programs, facilities, etc.)
The problem is similar in all three categories: how to structure the
table or field design to accommodate 'exceptions' or 'nuances' in the
data??
For example, for staff, normally it would be last name, first name,
such as Jane Doe, John Smith, etc. Same for clients.
However, for various reasons, sometimes the 'staff' is something like
'John Doe Family', or 'Physician,' or 'Company Name'.
Obviously those don't fit into something like a 'staff name.' We have
similar problems with client data, where the client's name may not be
known (could use 'Unknown') or there is no client name available at all
but the client name is a required field, so we type something like
'Facility, Reportable.'
What is the best way in terms of table/field design to handle these
recurring exceptions/nuances in the data??
Should I allow only specific types of phrases (my solution so far),
create new/additional fields in the table to hold entries like this
(makes queries way more complicated!), create new tables (makes for a
lot of union queries etc.!), what??
Should the data entry form be modified to have the user do something
different when one of these data entry cases occurs?? (This is not
ideal because the data entry is already complicated enough, smile!)
How have you solved similar problems??
Can anyone point me to a website, book, anything, that discusses these
kind of table/field design problem?? (Most db design books I've seen
don't talk about stuff like this.)
Thank you, Tom