Results 1 to 2 of 2
  1. #1
    Alex Ess is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    1

    Updating a junction table through a user friendly form

    I have a database linking a table of employees to a table of devices and a table of phone numbers. The employees change devices and the devices sometimes change phone numbers. I want a junction table with records of the combinations of employee-device-number with a unique identifier and a date for each combination. The point is to be able to look up a person and find a list of records of which phones and numbers this person has used.

    The employee table has:
    Employee Name fields
    An autonumber Employee ID field

    The device table has:
    A Hex code unique to the device
    An autonumber Device ID field

    The Number table has:
    A Phone Number field
    An autonumber Number ID field

    The junction table has:
    An autonumber Junction ID
    The autonumber Employee ID field linked to that field in tblEmployee


    The autonumber Device ID field linked to that field in tblDevice
    The autonumber Number ID field linked to that field in tblPhoneNumber

    I want to create a way for a user to add a new line to the junction table through a form.

    You would look up the employee through the form and there would be a subform with a Device Hex # field and a phone number field.

    Now if a person were updating someone’s record they would have a paper form or a post-it with the hex number of the device or the phone number or both. The junction table doesn’t have those fields, just the autonumber IDs associated with the hex codes and phone numbers. How can I get Access to let a user enter the type of number they work with on paper, look up the associated IDs and create a new line in the junction table for a new combination of employee-device-number?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    Have you used Combo Boxes?

    A combo box will let you have two columns of data (in your case, deviceID and HexNumber). The BOUND COLUMN of this combo box will be your DEVICEID, your COLUMN COUNT will be 2, and your COLUMN WIDTHS will be 0 (zero) and 1. This allows you to suppress the DEVICEID from being viewed in your data entry and the user to type in the hex number.

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

Similar Threads

  1. Import Word form to Access form as new record (user friendly)
    By bbrazeau in forum Import/Export Data
    Replies: 1
    Last Post: 04-30-2013, 12:00 PM
  2. Updating junction table in form
    By Palladian in forum Forms
    Replies: 7
    Last Post: 11-14-2012, 12:27 AM
  3. Creating a user friendly DB and tightning up Security
    By WayneSteenkamp in forum Access
    Replies: 12
    Last Post: 03-20-2012, 02:33 AM
  4. Updating a Junction Table
    By oleBucky in forum Forms
    Replies: 4
    Last Post: 04-05-2011, 04:59 PM
  5. User friendly complex names
    By MatrixRage in forum Database Design
    Replies: 1
    Last Post: 08-10-2010, 09:41 AM

Tags for this Thread

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