Results 1 to 2 of 2
  1. #1
    Moonman is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jun 2013
    Posts
    8

    Cool Default set to "Current Field" for Find/Repalce Dialog Box


    I am looking for VBA code that will set the default value to "Current Field" (Look In) in the Find/Replace Dialog Box. I have attempted using "SendKeys" which works to default to "Any Part of Field" (Match), but SendKeys will not work for the "Look In" field. My end goal is to click in the desired form field to search, click a button, and have the Find/Replace Dialog Box pop-up and have the "Look In" field default to "Current Field" and have the "Match" field default to "Any Part of Field." Any help in this endevour would be greatly appreciated.

    Thank you

  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,643
    You really want to let users able to modify data with the Find/Replace dialog? Recommend you build a custom search tool. Parameterized query is one approach: http://datapigtechnologies.com/flash...tomfilter.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: 6
    Last Post: 08-11-2011, 10:41 AM
  2. Replies: 16
    Last Post: 07-22-2011, 09:23 AM
  3. Form error "the current field must match..."
    By plavookins in forum Forms
    Replies: 0
    Last Post: 04-13-2011, 07:42 AM
  4. Replies: 8
    Last Post: 11-12-2010, 10:55 AM
  5. Error message and How do I find the "value Field" ?
    By createdwithfire in forum Forms
    Replies: 1
    Last Post: 11-05-2009, 12:26 PM

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