Results 1 to 3 of 3
  1. #1
    ittechguy is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    218

    Popup form for adding customers


    I'm having an issue with my popup form.

    The form shows the room id from my main form and displays the building name and room name.

    I need to use the form to make changes to my junction table between customers and rooms (CustomersToRooms). I've created a form based on my CustomersToRooms table.

    Now I need to be able to select a customer to add it to the room. I am not sure how to do this.

    I can concatenate first name and last name and allow users to select a first name and last name with one combo box. And bind that to customerid. However I do have some common first and last names so it's possible to get duplicates this way.

    One method that works but looks weird, is to include all fields from my customer table in my combo box. I was hoping to separate this more.

  2. #2
    CJ_London is offline VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,841
    if you have multiple customers with the same names you will need to display more information in the combo box so the user can differentiate them - e.g. a postcode or telephone number or perhaps a start date

    Your customer combobox should have the bound columns set to your customerID

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,549
    is say use a multi record form, with a text box.
    enter the name in the box, filter records
    show all like names.
    select 1 rec, click DETAIL button to edit the record via
    docmd.openform "frmDetail", ,,"[id]=" & txtID

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

Similar Threads

  1. Replies: 1
    Last Post: 09-09-2014, 11:29 PM
  2. Popup New Form
    By Ray67 in forum Forms
    Replies: 5
    Last Post: 08-21-2014, 12:34 PM
  3. Enter Orders for Multiple Customers in a Form
    By nelsonsbrian in forum Forms
    Replies: 1
    Last Post: 07-16-2013, 03:29 PM
  4. Popup form
    By triplee23 in forum Forms
    Replies: 1
    Last Post: 10-24-2010, 04:09 PM
  5. Add to customers/bookings form
    By Dega in forum Forms
    Replies: 1
    Last Post: 01-25-2010, 02: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