Solved

Coupling two tables in Access and setting as subform source

Posted on 2008-10-14
3
355 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 93

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 - Microsoft MVP, Access and Data Platform) 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

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

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

627 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