Thank you for your response.
I was not exactly sure of what I can do and cannot do with Access. These
fields I specified are tied to a record with about 40 other fields. To give
you some insight, I am dealing with healthcare records and the PROCD*
reference procedure codes for each patient. There are up to 6 procedures for
each patient. Luckily, I dont have to deal with the diagnosis codes There are
up to 10 of these fields.
Then you have a one to many relationship from Records to Procedures.
The current, administratively defined, six-procedure limit is a VERY
week reed upon which to lean for table design.
A *much* better design would be to have a PatientProcedures table with
a PatientID (or whatever the proper primary key of your current table
might be - visitID?) and a ProcID. This would let you add one, or two,
or six - or for some particularly unfortunate patient, *SEVEN* -
procedures, using a Subform. The ProcID in this table could be very
simply and easily linked to the Procedures table to display the name
of the procedure, and/or you could use a Combo Box on the subform to
store the ProcID while displaying the procedure name. The same logic
applies to diagnoses - a separate patient-diagnosis table with as many
rows as are needed for that particular patient.
I thought my DB was normalized enough, given that each patient can have up
to 6 PROCD's.
You have a one to many relationship. Model it as a one to many
relationship and you'll have a very much better time.
I was trying to associate a name with only a certain portion these PROCD's.
Why? As a way to easily identify the certain PROCD's. Its easier for me
evaluate a name than a number.
That's exactly WHY you should normalize - so that you can use the
name, not the number. I hope you're not using the table datasheet for
data entry and editing - it's NOT designed for that purpose!
The size of the DB's I am working with are very large, I will experiment
with your suggestion on a sample DB.
"Very large" is a slippery concept. 10MByte? 200MByte? 1.85GByte? How
large?
I have other issues with the data set before I can put together an analysis
package.
Again, thank you for your help and your time.
John W. Vinson[MVP]