Results 1 to 2 of 2
  1. #1
    navid136220 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Aug 2016
    Posts
    1

    Question error in create search form with combobox

    hi
    i am beginner in access, i get 3 part learning video with title " Access- How to Create Search Form Using Combo box Part 1" (and part2,3) and i see its contents, but when i make tables, queries, subforms and forms like it, dosnt work correctly and i dont know why is this. if someone can find its sample file or create example file for it and upload file, so much thanks.


    with regards: navid

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Make a continuous form of records.
    put the combo box on it, when user pick the item in the combo, filter the records.
    Code:
    sub cboBox_afterupdate()
    If isNull(cboBox) then 
      Me.filterOn=false
    else
       Me.filter="[field]='" & cboBox & "'"
       Me.filterOn=true 
    end if
    
    end sub

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

Similar Threads

  1. Replies: 1
    Last Post: 05-13-2015, 01:14 PM
  2. Use a combobox to create a new Search Field
    By Bongobob21 in forum Forms
    Replies: 1
    Last Post: 03-13-2015, 10:56 AM
  3. Search form with ComboBox
    By Voodeux2014 in forum Forms
    Replies: 16
    Last Post: 11-06-2014, 04:24 PM
  4. Replies: 7
    Last Post: 09-21-2012, 03:30 PM
  5. Replies: 5
    Last Post: 07-13-2012, 01:15 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