Results 1 to 10 of 10
  1. #1
    WHAMMER is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2014
    Location
    illinois
    Posts
    4

    Question Newbie to access and asking for help with relationships


    I am new to the forum and could use some help. So I am trying to put in information into one table by grabbing information from another. so I have a main records table that will have all the information that was inputted from a form.
    Click image for larger version. 

Name:	main records.PNG 
Views:	21 
Size:	33.6 KB 
ID:	15251

    Click image for larger version. 

Name:	form.PNG 
Views:	21 
Size:	42.4 KB 
ID:	15252

    now when I input all the information from the form the part description is blank. I believe there is a way using relationships that when I put all the info in it will automatically put in the description. any help will be great thanks

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Typically it would be a mistake to store the description there:

    http://www.baldyweb.com/Autofill.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    WHAMMER is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2014
    Location
    illinois
    Posts
    4
    Quote Originally Posted by pbaldy View Post
    Typically it would be a mistake to store the description there:

    http://www.baldyweb.com/Autofill.htm
    Sorry I'm confused. maybe I didn't explain well enough what I am trying to do. But, from what it sounds like from that site I have tried that before. In the combo box I have 3 columns and it only keeps the first column and it doesn't work that way I thought it would. so lets say on the form I have the part number and when I put it in and finish it stores the info on the main records page. then on there the part number gets filled and then a field next to it that says the description. i want it to grab the description from the excel page that it is linked to and put that in the description field on the main records page. is that possible? thanks

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    A combo will only save the bound column. If you want to save the description (I wouldn't), you can use the second method from that link.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    WHAMMER,

    To help the readers understand your problem/opportunity could you give us a description of WHAT you're trying to do in a few sentences. Perhaps readers will offer options/suggestions once they get a feel for your situation.

    Perhaps you could include a jpg of your tables and relationships.

  6. #6
    WHAMMER is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2014
    Location
    illinois
    Posts
    4
    yeah sorry, Im new at making a database from scratch I have altered other databases that have been done so this is a little hard for me.
    so I have a form that I enter employee name, part number, start date and time, and I have a table that all the information from the form goes to.
    and as far as relationships that is where I think I need help at. I try making a relationship and nothing changes. and when I select a row in the dropdown it just shows the part number not description. I think this explains what I want to do. thanks for the help
    Click image for larger version. 

Name:	form.jpg 
Views:	13 
Size:	278.9 KB 
ID:	15254
    Click image for larger version. 

Name:	main.jpg 
Views:	13 
Size:	190.2 KB 
ID:	15255

  7. #7
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    I understood the question, but apparently you're not understanding the answer. The combo will only save to one field, not both. If you want to save both, try the second method in my link. You can hide the bound textbox if you want.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    orange's Avatar
    orange is offline Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,870
    So, in plain English, your database is primarily for recording information related to an Employee "inspecting" a Part. I see Start and End times and the form Title says Inspector. If that is true, please tell us exactly WHAT the issue is. If I have misunderstood, please revise as necessary.

  9. #9
    WHAMMER is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Feb 2014
    Location
    illinois
    Posts
    4
    Yeah it is basically a start and finish report for inspection parts. my issue is when I put in the part number on the form it dosn't copy the description with it onto the main records table. Pbaldy sorry the link is kinda hard for me to understand. this is my first time doing a database from scratch i haven't had any training on it. I know the combo will only save the first field on the form that not a problem I just want it to take the item number info move over to the main records table and fill in the part number then fill in the rest of the blanks related to that part number

  10. #10
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    The point trying to be made is that the description SHOULD NOT be saved onto the main records table. Only the part number should be saved (if the part number is defined as the primary key field). Accept that and there is no issue.

    Also, people name parts should be in separate fields in Inspectors table and do not save the full name into main records table, only the InspectorID.
    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.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 11-13-2012, 09:08 AM
  2. Access Newbie
    By Priceman in forum Forms
    Replies: 18
    Last Post: 04-12-2012, 07:39 PM
  3. Replies: 8
    Last Post: 10-07-2011, 10:59 AM
  4. Access Newbie
    By dropnby29 in forum Access
    Replies: 2
    Last Post: 06-07-2011, 09:22 AM
  5. Newbie to Access
    By dosneau in forum Access
    Replies: 7
    Last Post: 08-17-2010, 09:56 AM

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