Results 1 to 4 of 4
  1. #1
    rwahdan@gmail.com is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Nov 2015
    Posts
    28

    Question reference the correct button when selecting a record


    I have a continuous form that includes all records in one form. I added a button called "Edit" for each record and when clicked it changes its caption to "Update". Currently it is changing the caption of that button for all records to "Update". How to make it only change the caption of only the selected record and disable the rest of the buttons for other records.

    Thanks.

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    These functions are done automatically by Access, the user can already edit and Access will take care of the updating. Or is there more that you haven't mentioned?

  3. #3
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    Cannot do what you ask for. There really is no need for this button anyway if form is BOUND to data source. Edits are committed to record when 1) close table/query/form or 2) move to another record or 3) run code to save.
    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: 5
    Last Post: 10-13-2015, 02:53 PM
  2. Replies: 9
    Last Post: 06-04-2015, 07:17 PM
  3. Compile Error When Selecting A Reference
    By sroot in forum Modules
    Replies: 1
    Last Post: 12-15-2014, 04:10 PM
  4. Correct Button Syntax
    By kelann in forum Programming
    Replies: 9
    Last Post: 11-09-2012, 09:00 AM
  5. Replies: 9
    Last Post: 09-16-2011, 03:52 PM

Tags for this Thread

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