Results 1 to 3 of 3
  1. #1
    markosubino is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Feb 2018
    Location
    PH
    Posts
    1

    update records using checkbox and button


    so here i got a table that has, fields , ID, SERIAL, Status.
    what i want is to update the Status from of all or number of records selected using a checkbox,
    one button to update it all or the selected records,

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    so if the record is checked , update that record(s)?

    update table set [field] ="new value" where [checkbox]=true

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,930
    1. you will need to use a form, tables do not have buttons
    2. to use a checkbox you will either need to add a 'checked' yes/no field to your table or use what is called a disconnected recordset and a lot of code
    3. or there is this method here which does not use a checkbox https://www.access-programmers.co.uk...d.php?t=289116

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

Similar Threads

  1. Replies: 6
    Last Post: 11-19-2017, 08:41 PM
  2. Replies: 2
    Last Post: 08-03-2017, 04:58 AM
  3. Replies: 2
    Last Post: 06-14-2016, 03:01 PM
  4. Replies: 1
    Last Post: 06-15-2012, 10:47 AM
  5. programming button to update records
    By lstairs in forum Programming
    Replies: 5
    Last Post: 02-04-2010, 08:07 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