Results 1 to 3 of 3
  1. #1
    matt_wpg is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    20

    automated method of editing records using forms

    I am new to access and have been trying to solve this problem for days, and can't seem to dig up anything online. Any help will be appreciated!



    I am making a database to rent out equipment at my company. You can find my current version here if interested:https://1drv.ms/f/s!AkwyiifpjisUgdQseWttuH-E6yYPDw
    My problem:
    I would like to edit records using a form. I know this is possible when you have a table inside the form displaying all of the records available, and you just choose which one. However, the problem with this, is that my users don't know what item to pick in a table, they want to choose an image (picture of bike, not description of bike).
    What I have been trying to do is:
    I have a table with records for bikes, and I have a form that is used to view the bike information along with the images. I have a button beside each bike that says "check out". I have managed to get this to work. The problem comes with "check in". I can't seem to figure out how to get the button macro to ensure I am editing the correct record.

    Any ideas??
    Thanks in advance!!
    Matt

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    normally, youd have a list (continuous form) of records,
    The user selects a record in the list, click a button to open the 'detail' form, that shows only the 1 record.
    This opens that given record by using the recordID,

    docmd.openform "frmDetail", , ,"[id]=" & me.txtID

    then put a button on this form to 'check in'.
    again use the recordID to checkin.

  3. #3
    matt_wpg is offline Novice
    Windows 10 Access 2016
    Join Date
    Mar 2017
    Posts
    20
    Ahh ranman256 you are a genius! That worked! The key was ensuring the macro was also opening the checkin form in "edit mode" as well.

    Thanks for the help, much appreciated.

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

Similar Threads

  1. Programming automated Records
    By dcondorn in forum Programming
    Replies: 2
    Last Post: 01-27-2015, 11:01 AM
  2. Replies: 5
    Last Post: 03-01-2013, 09:17 AM
  3. Replies: 17
    Last Post: 11-24-2011, 03:37 AM
  4. automated email sent from records in form
    By hmcquade in forum Forms
    Replies: 2
    Last Post: 05-23-2011, 08:45 AM
  5. Editing forms suddenly gone wrong
    By twinfair in forum Forms
    Replies: 3
    Last Post: 02-19-2010, 07:48 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