Results 1 to 4 of 4
  1. #1
    ittechguy is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    218

    How to make changes to form/subform datasheet view.

    I've created a form which allows users to add new records to tblCustomer. It is also used to filter records from tblCustomer using a subform and a search form in the footer of the main form. It can also be used to remove records by right clicking on the record in the subform and clicking delete. The form looks like this:



    Click image for larger version. 

Name:	final form.png 
Views:	11 
Size:	63.0 KB 
ID:	22513

    Currently, I have no way of making changes to records. I need to be able to make changes such as updating rank, shop name, phone number, etc. Most of those fields come from other tables and not from tblCustomer (to break apart the data and eliminate duplicate data).

    I've tried using a combo box in the subform, but that won't work because it updates all of the combo boxes for that field. I've heard there are ways around this but they're complex. What would I do to get around that?

    Another idea I had was to have a popup form that displayed customer's info and allowed the user to make changes. I would prefer if it could be done in the subform.

  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,771
    Normally a form can be used to do data entry/edit for only one table. If you need to edit data of lookup tables, need to open a form to accomplish that.
    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.

  3. #3
    ittechguy is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    218
    Thanks for the reply. I think then I need to create a popup form that allows users to edit records displayed in the subform. My biggest problem is likely to create a way for the user to easily know which customer they're editing. I do not want to have to create another search form within the popup form to search for a customer.

    I think the best way to do this would be to make it so that when a user clicks on a record (or cell) from the subform, a form would popup to edit that record. Is that a possibility?

  4. #4
    ittechguy is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Aug 2015
    Posts
    218
    Nvm, I figured it out. Thanks for your help.

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

Similar Threads

  1. Replies: 2
    Last Post: 08-18-2015, 06:45 AM
  2. Replies: 4
    Last Post: 05-23-2014, 09:51 AM
  3. Replies: 3
    Last Post: 08-18-2013, 09:14 PM
  4. Make foreign key on subform invisible in form view
    By snowboarder234 in forum Forms
    Replies: 1
    Last Post: 04-04-2013, 01:06 PM
  5. Replies: 6
    Last Post: 11-21-2012, 05:10 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