Results 1 to 9 of 9
  1. #1
    kwarden13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2016
    Posts
    19

    Search, Add, and Edit Forms - Need Help!

    Hello-



    I have a database that keeps track of all spend and suppliers. The suppliers have a hierarchical relationship.

    Supplier --> Normalized Name --> Immediate Name --> Ultimate Name

    I need to have a form built where users can search to find suppliers they need to edit or update, and search to see if they need to add new suppliers that are not found. I was thinking of having a search form with a datasheet view where users can edit the data. Not sure how to build though. Any ideas?

    Attached is the database.
    Attached Files Attached Files

  2. #2
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    this format works very well for me.
    http://www.allenbrowne.com/ser-62.html

  3. #3
    kwarden13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2016
    Posts
    19
    So i saw that and was initially trying to build that, however, you cannot edit in the form, just search. Is there anyway to use a datasheet form with that? The user would need to edit a lot of records in some cases so I do not want to make them click on each one individually. Also, when using a text box, the search is taking a long time. I have over 100k records

  4. #4
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    sample_2.26 v2.zip

    you never know or get better until you try. and yes you can edit.

  5. #5
    kwarden13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2016
    Posts
    19
    Thank you so much for posting with the example! How is the datasheet linked? Also, is it possible to have one search box but have it look in 4 different fields for the text string in the code?

    Thank you again! I searched and searched and could not find anything like this.

  6. #6
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    glad to help. the datasheet is linked with subform referances. take a look at the page i added in earlier post, he does a great job of explaining it and giving you the knowledge to understand it and alter what you need.

  7. #7
    kwarden13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2016
    Posts
    19
    So I figured out the search part, however, am trying to now be able to edit. Since my subform is a qry and not a table is there a way to edit? I am having trouble finding examples.

  8. #8
    vicsaccess's Avatar
    vicsaccess is offline Competent Performer
    Windows 8 Access 2013
    Join Date
    Apr 2015
    Posts
    451
    Not sure what you are trying to figure out with the edits. when i last looked at it you were able to change records but your query on the subform did have the totals set to grouped by which does limit your ability to add records, remove that since it does not look like you are using it. other than than check your subform data properties for allow additions, allow deletions and allow edits.

  9. #9
    kwarden13 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Feb 2016
    Posts
    19
    Ok will do. Thank you. I am now trying to edit the records after searching and I have the combo drop downs working however the ids do not change when the name changes. I want the ID fields to change when the name is updated in the combo boxes. Also, since it is a hierarchy, if the relationship changes it should alert to change the immediate and ultimate boxes depending on the normalized name.

    I have been searching all morning and cannot find examples of doing this.
    Attached Files Attached Files

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

Similar Threads

  1. Access Design and Form - Search, Add, Edit
    By kwarden13 in forum Database Design
    Replies: 16
    Last Post: 02-29-2016, 08:39 AM
  2. search and edit members
    By Mohammadsharif in forum Access
    Replies: 3
    Last Post: 04-08-2015, 07:36 AM
  3. Search form with a Edit Button
    By gebmiller1984 in forum Forms
    Replies: 5
    Last Post: 02-14-2015, 11:54 AM
  4. Search/Edit form creation
    By Hagridore in forum Forms
    Replies: 11
    Last Post: 01-21-2015, 11:17 PM
  5. Replies: 2
    Last Post: 11-05-2014, 09:16 AM

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