Results 1 to 3 of 3
  1. #1
    znxm0i is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Location
    Oklahoma
    Posts
    11

    What Am I Overlooking -- Unable to Display Default Value for Combo Box on Form

    I have an Unbound combo box on my form which uses the following Row Source code: SELECT [Inventory].[Iventory ID], [Inventory].[Category] FROM Inventory; when the user selects a category from the drop-down list it automatically finds the corresponding record; however, want I'm trying to make happen is when the form is initially opened, I want the first record displayed to contain the default value for the record displayed. When I try and place a default value of "Basketballs" in the Default Value field of the table it does not display on the form.



    Any ideas how to fix?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    Basketballs is not the default value.
    your 1st field is [Inventory ID], and the combo is probably mapped to col 1 as the field.
    SO
    you must assign a numeric id as the default value
    cboCata = 3 to GET
    Basketballs.
    Last edited by June7; 07-08-2015 at 12:17 PM.

  3. #3
    znxm0i is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    May 2015
    Location
    Oklahoma
    Posts
    11
    Quote Originally Posted by ranman256 View Post
    Basketballs is not the default value.
    your 1st field is [Inventory ID], and the combo is probably mapped to col 1 as the field.
    SO
    you must assign a numeric id as the default value
    cboCata = 3 to GET
    Basketballs.
    Okay, that makes sense. Thank you so much!

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

Similar Threads

  1. Replies: 1
    Last Post: 04-07-2015, 06:53 AM
  2. Replies: 2
    Last Post: 06-10-2013, 06:22 PM
  3. Replies: 3
    Last Post: 11-05-2012, 03:50 PM
  4. Combo Box Display in Form
    By rachello89 in forum Forms
    Replies: 2
    Last Post: 05-11-2012, 05:44 PM
  5. Checkbox unable to display a tick
    By sabre1 in forum Access
    Replies: 0
    Last Post: 11-08-2010, 09:43 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