Results 1 to 6 of 6
  1. #1
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43

    How to create a title combo box when i had many title is the same?


    I got a problem of create a combo box in the form. I got multiple title in my table. but it will overwrite some of the title which is the same

    How can i overcome this problem?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    I dont understand the problem. You want to pick a title from a combo box then have it appear on a report?

  3. #3
    Jeremy Sng is offline Advanced Beginner
    Windows 7 32bit Access 2016
    Join Date
    Aug 2016
    Posts
    43
    Nope.

    Example:

    in the combo box.

    title:

    1st. I am a boy
    2nd. I am a boy

    Both are different story but when i click the 2nd story it pop out the 1st story.

    How i can overcome this problem?

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,526
    The query that pulls the story must look at the combo....
    select * from table where [story]=forms!formMain!cboBox

  5. #5
    John_G is offline VIP
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Location
    Ottawa, ON (area)
    Posts
    2,615
    You are going to have to include in the combo box some other data which uniquely identifies which story you want. That might be a story ID, an author name, etc., some data which when combined with the Story Name, will identify only one record.

    What happens in your form after you select a story name?

  6. #6
    jacquienta is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Aug 2016
    Posts
    3
    when setting up the combo box add title and say date or year too. that way when it shows up in the combo it will appear as :

    I am a boy 2013
    I am a boy 2016

    Helping u decipher between the two.

    Hope this helps

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

Similar Threads

  1. Replies: 7
    Last Post: 12-17-2015, 04:36 PM
  2. Replies: 2
    Last Post: 03-20-2015, 06:30 AM
  3. Replies: 12
    Last Post: 12-06-2014, 06:29 PM
  4. Auto Title
    By Lois in forum Forms
    Replies: 1
    Last Post: 10-21-2011, 09:21 AM
  5. No useful title
    By cap.zadi in forum Access
    Replies: 1
    Last Post: 09-05-2011, 09:50 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