Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    The only time Look-up fields in tables are somewhat useful (IMO) is if you have a dB that only you use and you use a form in datasheet view or enter data directly into a table.


    Otherwise use a combo box (I think this is what you mean by "a controlled vocabulary") on a form in Single Form or Continuous Form view.
    I know of no other database engine other than Jet/ACE that has Look-up fields, Calculated Fields or Multi-Value Fields. So if you convert to another DB engine (say SQL Server, Oracle, MySQL,...) you end up redesigning your db.

  2. #17
    ssanfu is offline Master of Nothing
    Windows XP Access 2010 32bit
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    From Post #1
    I would like for Access to autofill the "head coach" field based on the information I entered previously (ie, season, and team).
    From Post #11
    If you were to do a query from the EntriesT and set season to "147", leave the Coach field blank, set team to "1" and Position1 to "1" you should get Chuck Martin. So what I would like to happen then is when I'm entering in a member of his staff it pulls this information and puts it into the Head Coach field
    I tried a query with:
    Season - 148 (2016)
    Team - 108 (Houston)
    Position1 - 1 (Head Coach)

    2 records were returned: Chuck Martin and Tom Herman. How would I know which coach to enter in the Head Coach field? What am I missing?
    Here is the query I tried
    Code:
    SELECT EntriesT.Coach_FK, EntriesT.Season_FK, EntriesT.Team_FK, EntriesT.Position1_FK, EntriesT.League_FK
    FROM EntriesT
    WHERE (((EntriesT.Season_FK)=148) AND ((EntriesT.Team_FK)=108) AND ((EntriesT.Position1_FK)=1));

  3. #18
    jucooper1 is offline Novice
    Windows 10 Access 2016
    Join Date
    Dec 2016
    Posts
    18
    I am so sorry guys, I thought everyone stopped responding, I didn't see the second page of comments.

    That's exactly what I do, and its really helpful for me to have those look up fields.

    I ran that same query and I only got Tom Herman. I don't know why you also got Chuck Martin.

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

Similar Threads

  1. Replies: 7
    Last Post: 09-08-2016, 09:54 AM
  2. Replies: 1
    Last Post: 02-14-2015, 02:29 AM
  3. Replies: 7
    Last Post: 02-10-2012, 08:08 PM
  4. Replies: 2
    Last Post: 07-14-2011, 09:23 AM
  5. Autofill from Previous Field
    By Dan Kenton in forum Forms
    Replies: 1
    Last Post: 02-16-2011, 11:15 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