Results 1 to 8 of 8
  1. #1
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664

    Mucked Up Combo Box

    In the following db that is contained in the file that is attached to this email the form, frmEmail, has some issues.

    The first is when the form opens there is a list of employee name selections, but there is only one employee that can be selected : Boris Karloff.

    There are many more, bit only Boris Karloff is capable of being selected, select any other employee and the combobox will not let you.


    Now for the weird stuff: if one runs through the meeting dates (there is a next and previous button below Employee name cbobox), the employee selected changes when the meeting_date does. That simply should not happen.

    Again, when the meeting_date changes so does the employee name at the top of the list.

    There is something wrong here and I do not know what it is!

    This post was posted before, but I got no reply so I am posting it separately.



    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed
    Attached Files Attached Files

  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,643
    The combo is bound to the FullName field, which is a calculated column and can't be edited. I'd think it would be bound to the ID column.

    The form is bound to a query, the combo shows the full name from the record in the query you're on. Why would you expect that not to happen?
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    Thanks, I will check it out. Thanks very much for your help.

    The way to fix is to change the field that the combo box is bound to? Bind the field to the ID Column as you say.

    Respectfully,

    Lou Reed

  4. #4
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    When you are counting rows when creating a combo box, is the first row 0 or 1?

    Also, if you can make selections, but are not allowed to put them in the combo box. How can you fix that?

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  5. #5
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I got the first part of this one. The first column is 1 not 0, in a query and in selecting a bound column in formatting a combo box.

    However, there are instances in column numbering in MS Access that the first column is 0. Which ones are those?

    Any help appreciated. Thanks i advance.

    Respectfully,

    Lou Reed

  6. #6
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    In the attached file is a db, that sort of works.The second employee combobox the lower allows one to select an employee and then add it to the from, frmEmail.

    Th unique value is emailaddress. I do not even use auto-number here as the emailaddress and it uniqueness does just fine. However, when I enter the employee name shown completely in the drop down menu, only the first name is added. i want the first and last name. I made the last name column 2 and the third column 0 length it holds the email address, but both columns 1 and 2 have a length.

    What do I have to do to show last name in selection?

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

  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,643
    I'm not sure what you're saying. The first field (column) is 0, as the Column property is zero based. Need to go install a printer, will look more when I get back.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  8. #8
    Lou_Reed is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2015
    Posts
    1,664
    I assumed the first column was 1. It seemed to work. But as I said it n the above post when I use a combo box below the notes on form, frmEmail I have three columns. The first is first name, the second is last name and the third is email address. Email address is unique.

    I want the combo box to shows first and last names, it only shows first name. I believe it is because the combo box can only show one selection from a list, not two. That means that I must do a calculated field for full name, but calculated fields are not editable. I cannot select it even if the full name is there, because it is a calculated field.

    Somehow there must be a workaround.

    Any help appreciated. Thanks in advance.

    Respectfully,

    Lou Reed

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

Similar Threads

  1. Replies: 11
    Last Post: 09-03-2015, 11:12 AM
  2. Replies: 2
    Last Post: 10-21-2014, 07:57 AM
  3. Replies: 3
    Last Post: 07-03-2013, 10:38 AM
  4. Replies: 2
    Last Post: 08-16-2012, 10:02 PM
  5. Replies: 4
    Last Post: 08-16-2011, 05:54 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