UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

> First Form..Using IDs that is    
 
   
williams9969
post Dec 6 2005, 09:45 PM
Post #1

UtterAccess Ruler
Posts: 1,888
From: US Army / Iraq



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 (IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif)

VR

DWilliams
Go to the top of the page
 
+
 
Start new topic
Replies (1 - 3)
DougY
post Dec 7 2005, 12:00 AM
Post #2

Utterly Abby-Normal
Posts: 9,754
From: Seattle, WA [USA]



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
Attached File(s)
Attached File  Test.zip ( 14.05K ) Number of downloads: 4
 
Go to the top of the page
 
+
williams9969
post Dec 7 2005, 12:33 AM
Post #3

UtterAccess Ruler
Posts: 1,888
From: US Army / Iraq



Thanks Doug

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

VR

DWilliams
Go to the top of the page
 
+
DougY
post Dec 7 2005, 12:36 AM
Post #4

Utterly Abby-Normal
Posts: 9,754
From: Seattle, WA [USA]



No problem...
Glad to help (IMG:http://www.utteraccess.com/forum/style_emoticons/default/wink.gif)

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

LMK if questions.
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 06:24 PM