Results 1 to 4 of 4
  1. #1
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727

    Find Record Button


    I like how the button works except for one thing. I am not able to change the "Look In:" drop down menu to another field. I can only search the field my cursor is in. Is there a way to make it so either I can list the fields in the drop down menu to my liking or at least have all fields list in the drop down menu for "Look In:"? Its a bit annoying to have to make sure I remember to click the field I want to search in before clicking the Find Record button.

    Any help is appreciated. Thanks.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    No, cannot change behavior of the intrinsic Find dialog.
    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
    data808 is offline Noob
    Windows XP Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    727
    would i be able to make a custom button in that case? do you know how to create the code for it?

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,622
    The combobox RowSourceType would be Field List and the RowSource would be table or query. Have a textbox for entry of criteria.

    Code something like:

    Me.Filter = Me.combobox & " Like '*" & Me.textbox & "*'"
    Me.FilterOn = True

    That assumes all fields are text type.

    For more ideas, review http://allenbrowne.com/ser-62code.html
    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.

Similar Threads

  1. Replies: 7
    Last Post: 06-12-2012, 08:56 AM
  2. Find Next Button on Form
    By CindyIvey in forum Access
    Replies: 3
    Last Post: 02-10-2011, 03:09 PM
  3. Command Button to Find .doc file
    By cg1465 in forum Forms
    Replies: 8
    Last Post: 09-15-2010, 08:28 AM
  4. Replies: 3
    Last Post: 02-23-2010, 06:32 PM
  5. Find Record button error
    By Zedlexx in forum Forms
    Replies: 0
    Last Post: 03-11-2009, 09:26 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