I am trying to understand two issues regarding relationships.
I have created a grants database with a number of tables; GrantSum as the "one" table and Grantee, Payments, Products, etc. as the "many". Each table has an autogenerated ID# as the primary key and an indexed field called Grant#. Initially I simply linked the tables with the Grant# field. Someone suggested that I ought to define the Grant# field in the child tables as a combo box with a lookup through the ID#s to the grantsum table.
The Row Source info looks like this: SELECT DISTINCTROW [tblGrantSum].[GrantSumID#], [tblGrantSum].[DLCDGrant#] FROM [tblGrantSum];
That seems to muddle things to me. An ID# shows up when I expect a Grant#. It just seems to add complexity. I guess the purpose is to assure that records created in the many table are linked to a GrantSum record - improve data entry. Your thoughts?
Secondly, I want to create one-to-one links between the GrantSum table and two different tracking tables, CTrack and FTrack. (Some grants use one process, some another.) I was able to get the one-to-one definitions when the links were made with the Grant# fields, but can't seem to do it through the combo box structure. Should I be able to? Is there a better approach?
Thanks.
Lloyd
I have created a grants database with a number of tables; GrantSum as the "one" table and Grantee, Payments, Products, etc. as the "many". Each table has an autogenerated ID# as the primary key and an indexed field called Grant#. Initially I simply linked the tables with the Grant# field. Someone suggested that I ought to define the Grant# field in the child tables as a combo box with a lookup through the ID#s to the grantsum table.
The Row Source info looks like this: SELECT DISTINCTROW [tblGrantSum].[GrantSumID#], [tblGrantSum].[DLCDGrant#] FROM [tblGrantSum];
That seems to muddle things to me. An ID# shows up when I expect a Grant#. It just seems to add complexity. I guess the purpose is to assure that records created in the many table are linked to a GrantSum record - improve data entry. Your thoughts?
Secondly, I want to create one-to-one links between the GrantSum table and two different tracking tables, CTrack and FTrack. (Some grants use one process, some another.) I was able to get the one-to-one definitions when the links were made with the Grant# fields, but can't seem to do it through the combo box structure. Should I be able to? Is there a better approach?
Thanks.
Lloyd