Results 1 to 5 of 5
  1. #1
    sharonir22 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    May 2015
    Posts
    16

    new at this..

    I have a database of names and id numbers.
    I created a form with a dropbox containing all the ids in my database.
    I also have a form with all the fields in my database which is supposed to allow me to edit my records.


    what do I need to do so when I select an id from my dropbox a form opens allowing me ro edit the record I chose?

    *it always opens the form on the first record in the table [emoji20]

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    Can use the intrinsic Access search/filter tools. Alternatives require code (macro or VBA).

    Review:

    http://datapigtechnologies.com/flash...tomfilter.html

    http://www.allenbrowne.com/ser-62.html

    The combobox used to input/select filter criteria must be UNBOUND.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    I have a single rec form. the query shows all records. The list box shows all records.
    When I click the list box , it will then filter that ID.
    Code:
    me.filter = "[clientID] = " & lstClient
    me.filterOn = true
    I also have an Alphabet filter, to filter the lstClients by Last name when clicked.

    Click image for larger version. 

Name:	filter.png 
Views:	13 
Size:	21.6 KB 
ID:	20761

  4. #4
    sharonir22 is offline Novice
    Windows 7 32bit Access 2013
    Join Date
    May 2015
    Posts
    16
    I would really appreciate dumbed down and detailed answers.. I've just started experimenting in access

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,921
    What exactly do you not understand about intrinsic tools?

    What exactly do you not understand about the DataPig video?

    Granted, the Allen Browne tutorial is a little advanced but has step-by-step instruction.

    Here's another method http://www.dummies.com/how-to/conten...cess-2013.html

    Use the Control Wizard when creating combobox and it will build embedded macro search code for you.

    You will have learn about options and do a lot of experimenting to find what works best for you. We don't know your db and requirements so can't give specific guidance. Learn concepts and apply as appropriate.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

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