This is deer harvest data so it includes things like date of harvest,
method,
metal tag number, etc. There is nothing else in the database, with
the
exception of COUNTY (which is a numeric variable) that identifies the
county.
I created another "child" table as you say and in it placed two
variables -
COUNTYNAME & COUNTYCODE. The former contained the name of the county
(Athens, Adams, etc) and a corresponding number (5, 1, etc.). Note
that
neither COUNTY in my parent table or COUNTYCODE in my child table are
primary
keys. I joined them using a select query and with the exception of
the
records with missing values for COUNTY, the two tables appeared to join
just
fine. I changed to an update and it would not update. I got a rather
lenghty nastygram from Access explaining why the update was not
possible. If
you would like, I could send you the message. Realize that I may have
been
doing the update wrong. In the "update to" line in my parent table I
typed
the following: [countynames].[COUNTYCODE] - Perhaps I did something
wrong
here. What about this switch function? It looks like it may hold
some
promise.
Mike
:
Other than the county numbers, what is in that table? does it include
a
county number and the county name?
If so, then I would use that table as a child table to whatever table
you
want to maintain county information for and store the county number.
Then
you can create a relationship based on the county number field.
:
Brand New to the Access game. I was given a table with a field
called
county. Values are 1-88 representing unique counties. I would like
to
change these values to the actual county names. I'm at a loss as to
how to
go about doing this. I would like the values changed permanently.
Do I do
this in a query with a new variable, create another table with just
county
names and join the two or what? I would really appreciate any and
all help.
Mike