G
Guest
I work at a hospital and I am building a database to keep track of patients
who have undergone a certain set of procedures. This database should
essentially be just a spreadsheet with a pretty interface--there are no
one-to-many relationships, just one table with a record for each patient.
The problem I have run into is that, since we are gathering a large number of
data points for each patient, I've exceeded the 255 field limit for tables.
I tried splitting the table apart and using a query to bring everything
together, but then I discovered that queries also have the 255 field limit.
I now have a main form which consists of a tab control, each page of which
has a subform based on its own table. For example: frmMain has tabs named
Demographics, Diagnosis/Therapy, Complications, and Follow-up. The
Demographics page has sfrmDemographics, which is based on tblDemographics,
the Diagnosis/Therapy page has sfrmDiagnosisTherapy, which is based on
tblDiagnosisTherapy, and so on for the rest of the pages. Also, the
patient's medical record number serves as the primary key in each of the
tables, and tblDemographics has a one-to-one relationship with each of the
other tables.
How can I tie it all the subforms together so they behave as one form based
on a single table? Have I made a good start, or have I just made things more
complicated than they need to be?
who have undergone a certain set of procedures. This database should
essentially be just a spreadsheet with a pretty interface--there are no
one-to-many relationships, just one table with a record for each patient.
The problem I have run into is that, since we are gathering a large number of
data points for each patient, I've exceeded the 255 field limit for tables.
I tried splitting the table apart and using a query to bring everything
together, but then I discovered that queries also have the 255 field limit.
I now have a main form which consists of a tab control, each page of which
has a subform based on its own table. For example: frmMain has tabs named
Demographics, Diagnosis/Therapy, Complications, and Follow-up. The
Demographics page has sfrmDemographics, which is based on tblDemographics,
the Diagnosis/Therapy page has sfrmDiagnosisTherapy, which is based on
tblDiagnosisTherapy, and so on for the rest of the pages. Also, the
patient's medical record number serves as the primary key in each of the
tables, and tblDemographics has a one-to-one relationship with each of the
other tables.
How can I tie it all the subforms together so they behave as one form based
on a single table? Have I made a good start, or have I just made things more
complicated than they need to be?