Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    ItsMe's Avatar
    ItsMe is offline Sometimes Helpful
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2013
    Posts
    7,862
    Quote Originally Posted by TeamTraveler View Post
    ...The distance thing I would possibly consider an event because it is the research that helps me uncover a precursor to a potential bid...
    I think you are onto something here. If you look at things from the Database side, you will want to define your entities. An entity will deserve its own table. You can define some entities by considering some sort of event or action that would create a new record, in other words, create a need to log this event or action. The term event is being used loosely to help you discover entities. Consider the Contacts table in the example. Contacts are not really an event. Yet, Contacts are identified as an Entity and deserve their own table.

    Within the sample DB, there is a table which lists Universities. I used data from the internet to populate this table. I did not consider the relevance of a given university prior to adding said university to the table. Simply, it met the prerequisite of being a University. So, it was added.

    As you define additional entities, you find additional uses for tblUniversities' PK field. The sample DB has a table for Clients. It has a Foreign Key field that can be populated with the value from the PK field in tblUniversties. There is not any need for adding all the different fields contained within tblUniversities to the tblClients. Duplicating these fields will go against the Rules of Normalization. Having said that, if the full description of the Universities was contained within tblClients AND there was not a need to have a SEPERATE table for Venues, you would not violate Normalization.



    If you create a table for Venues, model it after tblClients. I have thought about this a little. It is possible to have your Clients and Venues combined within a single table. However, it is a simpler solution if there are separate tables for these entities. I believe the need for separate tables becomes more evident when considering additional entities that use fields already contained within tblUniversities, e.g. adding a tblDistance.

  2. #17
    TeamTraveler is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2015
    Posts
    18
    If possible, I would like to pick up where we left off last week on this. With June7 looking at my DB and some of the things ItsMe said - all of you for whom I am grateful for your responses BTW - I have done some retweaking and am starting to see some of the items identified above coming to light.

    Okay. So, in a case where my ClientID and VenueID are BOTH pulling from my Universities table for use in a form, how would I broach this one? If I apply two joins to the same field in my university table, it seems to allow it UNTIL I try to pull the university name into two different fields and build criteria to associate the university with either the ClientID or VenueID - which I haven't figured out how to do syntax-wise.

    I'd really like to avoid going the two-table route if I can, especially if the Client table would be identical to the Venue table.

    Thanks again.

  3. #18
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    There is no need to include the Universities table in the form RecordSource.

    A query for report would include the Universities table twice. In the query table/query window will look like: Universities, Universities_1. Join instances of Universities table to ClientID and VenueID fields.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #19
    TeamTraveler is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    May 2015
    Posts
    18
    That worked fabulously! Thank you again!!

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 03-04-2015, 10:45 AM
  2. Replies: 9
    Last Post: 01-13-2015, 07:30 AM
  3. Referencing form fields with a string variable
    By ts_hunter in forum Programming
    Replies: 3
    Last Post: 02-13-2014, 01:06 PM
  4. Diplaying all row fields in Cross Table Query
    By khartoum in forum Queries
    Replies: 8
    Last Post: 05-30-2012, 03:13 AM
  5. Replies: 12
    Last Post: 12-14-2011, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums