Results 1 to 5 of 5
  1. #1
    vector39 is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2017
    Posts
    76

    Show specific items in combo box for each record in datasheet

    Hi everyone



    So I have a datasheet in split form view with 6 columns visible and I have a search box that filters as you type based on data that's in all 6 columns (e.g. user types in "smith" and the query looks if this is present in at least one column and gives me back records where this is present in any column(s)). However one of the columns is set as a combo box with several acronyms as items listed. If the user types in e.g. FHP, the datasheet lists all the records that have this in that column. This is fine and all but I was wondering is there a way for me to have it set where if the user types in "FHP" the datasheet would filter but instead of where the combo box only gives me FHP + other acronyms specific to that record? Because how it's currently set, the drop down lists everything in there.

    Also is there a way to make this datasheet un-editable? I went into the form property sheet and changed Allow Additions, Allow Deletions to No. But this affected my search bar since as it wouldn't allow me to type anything in. You guys are the best. Thank you!


  2. #2
    Micron is offline Very Inert Person
    Windows 7 32bit Access 2007
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    but instead of where the combo box only gives me FHP + other acronyms specific to that record?
    I don't understand this. Can you clarify and/or provide examples?
    As for un-editable, you would have to lock or disable all the controls except for the search textbox (bar?) since as you have discovered, setting form properties affects the entire form.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    cross posted here with further questions https://www.access-programmers.co.uk...d.php?t=294502

    @vector - please read this link about cross posting http://www.excelguru.ca/content.php?184

    It looks like you have cross posted on a number of previous occasions, but please follow the etiquette advised in the link

  4. #4
    vector39 is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    May 2017
    Posts
    76
    Hi

    My apologies. I was not aware. I will follow the etiquette for future threads. Thank you

  5. #5
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    it's not a problem - just etiquette.

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

Similar Threads

  1. Replies: 2
    Last Post: 09-18-2015, 02:22 PM
  2. Replies: 5
    Last Post: 05-21-2015, 10:33 AM
  3. Replies: 1
    Last Post: 02-24-2015, 06:54 PM
  4. 'SubTable' to manage items attached to a specific record
    By RichardGR in forum Database Design
    Replies: 4
    Last Post: 04-03-2013, 02:37 AM
  5. Text Box to show specific record
    By chu3w in forum Forms
    Replies: 1
    Last Post: 04-01-2010, 12:23 PM

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