L
Larry Kahm
I am working on a database that was originally designed and built in 2000 by
someone who was just learning Access. One issue that I am faced with is how
to handle an oversight and correct it without endangering the contents of
the database.
The Staff table has a primary key of a person's Initials and includes the
following essential fields: FirstName, LastName, and Title. The Title field
contains the individual's current position in the firm, and the table
contains duplicate text values. I want to change this field to a numeric
and link it to a table that contains the staffing titles.
However, various queries and forms use these three fields in combo boxes and
display fields. The combo boxes all use the Initials as the bound field.
The display fields are the troublesome aspect, because they have the
following format: [Staff].[FirstName]+" "+[Staff].[LastName]+",
"+[Staff].[Title] AS WholeName
Now, that's just great for pulling in the current value of someone's title.
But this doesn't reflect the fact that Bob Jones was an Entry Level Engineer
in 2001 when the record was created, and is a Senior Engineer in 2009. The
record, if displayed or printed, will show Senior Engineer - and that is
incorrect.
At this point, I believe I have to store the value of the Title (from the
Staff table) in each of the affected tables, which would change the display
field to [Staff].[FirstName]+" "+[Staff].[LastName]+",
"+[currentTable].[PastTitle] AS WholeName. But, given the existing design,
there is no way I can determine what any of the previous values were - I can
only do this on a "go forward" basis.
So either I'm making more work for myself than I need to, or I am missing
something simple.
I'm open to any, and all, suggestions.
Thanks!
Larry
someone who was just learning Access. One issue that I am faced with is how
to handle an oversight and correct it without endangering the contents of
the database.
The Staff table has a primary key of a person's Initials and includes the
following essential fields: FirstName, LastName, and Title. The Title field
contains the individual's current position in the firm, and the table
contains duplicate text values. I want to change this field to a numeric
and link it to a table that contains the staffing titles.
However, various queries and forms use these three fields in combo boxes and
display fields. The combo boxes all use the Initials as the bound field.
The display fields are the troublesome aspect, because they have the
following format: [Staff].[FirstName]+" "+[Staff].[LastName]+",
"+[Staff].[Title] AS WholeName
Now, that's just great for pulling in the current value of someone's title.
But this doesn't reflect the fact that Bob Jones was an Entry Level Engineer
in 2001 when the record was created, and is a Senior Engineer in 2009. The
record, if displayed or printed, will show Senior Engineer - and that is
incorrect.
At this point, I believe I have to store the value of the Title (from the
Staff table) in each of the affected tables, which would change the display
field to [Staff].[FirstName]+" "+[Staff].[LastName]+",
"+[currentTable].[PastTitle] AS WholeName. But, given the existing design,
there is no way I can determine what any of the previous values were - I can
only do this on a "go forward" basis.
So either I'm making more work for myself than I need to, or I am missing
something simple.
I'm open to any, and all, suggestions.
Thanks!
Larry