Solved

Coupling two tables in Access and setting as subform source

Posted on 2008-10-14
3
345 Views
Last Modified: 2012-05-05
OK this might be an easy answer, but I'm still learning on Access.  I have Access 2003 database with a main form with a source table (we'll call TABLE 1).  Contained within this main form is a subform with a separate table source (TABLE 2).  I have reached the 255 max number of entries in TABLE 2, but I still need to add more fields to this table as well as on the subform.  The only thing I could think of is to somehow create another table with these additional items and somehow couple it to TABLE 2.  But since the subform can only link to one table, I wasn't sure how to accomplish this.  Thoughts?
0
Comment
Question by:janderscu
3 Comments
 
LVL 92

Expert Comment

by:Patrick Matthews
ID: 22713992
Hello janderscu,

With respect, why so many fields?  Having more than a few dozen fields is usually a sign of suboptimal
design...

Regards,

Patrick
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 125 total points
ID: 22714005
255 fields in any one table is somewhat excessive.

However, you can create a 2nd table - same structure - same primary key ... and create a One To One relationship between the two tables.

Then, for the subform Recordsource, create a query which joins the two tables together via the Primary Key field.

mx
0
 

Author Comment

by:janderscu
ID: 22714056
We are collecting patient physical exam measures and that is just what we need to collect, but DatabaseMX has a great idea to split it up and set the query as the form source.  I will go that route.  Thanks.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question