Full Version: First Form..Using IDs that is
UtterAccess Discussion Forums > Microsoft® Access > Access Forms
williams9969
Greetings all...


I have been working on my tables..normalising, blah, blah..and I have a posing question regarding my form(s)

Some of my tbls are joined via Foreign Key and in the parent table they are only the ID(FK)

How does this work with showing the record...Can someone please set me down the right path so I can understand what it is I am actually doing?

Example:

main table has an ID for State

How is this going to work on my form

Probably a stupid question...but crawling comes before walking frown.gif

VR

DWilliams
DougY
Hi,

Check the attached sample:

tblMain uses tblStates as a lookup table
tblMain and tblComments have a 1:M relationship (one Main record can have many comments)

Open frmMain:

cbofkStates uses the lookup tables as the source
the comments for each main records are in the subform

I left the PK and FK so that you can see the values in the form, usually users are not exposed to them.

HTH
williams9969
Thanks Doug

I am using this to set my mind straight...understanding how things work together might help me

VR

DWilliams
DougY
No problem...
Glad to help wink.gif

Hope the sample helps you understand how things work together...

LMK if questions.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.