Results 1 to 3 of 3
  1. #1
    Wolfenden is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    2

    Find row by ID using button

    Hi all
    is there a simple way to put a button on a form, so I can enter the ID numberand the form will populate with the corresponding row to allow for editing. Ihave access 2007.



  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    have a form connect to a query for ALL records. The form is mult-record view
    in the form HEADER, put the box to enter the ID, and a button
    on the button on_click event


    Code:
    me.filter = "[id] = " &  txtBoxID
    me.filteron = true

  3. #3
    Wolfenden is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Oct 2014
    Posts
    2
    works a treat thankyou

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

Similar Threads

  1. Find Button in Forms
    By bagos in forum Programming
    Replies: 3
    Last Post: 07-25-2014, 10:23 AM
  2. Find Record Button
    By data808 in forum Forms
    Replies: 3
    Last Post: 01-12-2014, 01:05 PM
  3. Find Next Button on Form
    By CindyIvey in forum Access
    Replies: 3
    Last Post: 02-10-2011, 03:09 PM
  4. Command Button to Find .doc file
    By cg1465 in forum Forms
    Replies: 8
    Last Post: 09-15-2010, 08:28 AM
  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