Results 1 to 2 of 2
  1. #1
    adreasler is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2013
    Posts
    4

    Form to add items to a "many to many" link table.

    I'm building a database, and one part of it is a table linking 'components' (Using an Autonumber Key field, but selected by the user according to 'Category' and 'Detail' fields) to 'subassemblies' (indexed and selected by the the same key field), There are multiple components that can fall under a single Category/Detail combination, and I've already gotten a form that allows me to narrow a search down to a single Category/Detail set.



    What I'm looking for is a way to make a 'pop up' form for adding components to a subassembly. So you could go to the 'Subassembly Edit' form, hit an 'add component' button, and get the pop-up where you could search down to the Category/Detail combination (Which I already know how to do) then select one item from the resulting search, hit a 'confirm' button and the database will append an entry into the 'Components in Subassemblies' crosslink table with the selected components 'Index' value (The unique Autonumber), The Subassembly ID Number, and a default Quantity of 1.

    I'm currently performing this task 'by hand,' editing the crosslink table directly after looking up the pertinent ID numbers, but I'd like to 'automate' the task.

    The database is being built and accessed through MS Access 2013, using the default settings.

    Any assistance would be greatly appreciated.

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    Any chance you can provide a sample database. Just make a copy of your database with any relevant objects (tables, queries, forms etc) take out any sensitive information then compact/repair and zip it up then upload it to this site. What you're asking to do is possible but I don't want to create something from scratch.

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

Similar Threads

  1. Can report items be part of a "group"?
    By tstoneami in forum Reports
    Replies: 2
    Last Post: 08-13-2013, 11:51 AM
  2. Filter out "Completed" items from subform
    By dargo72 in forum Forms
    Replies: 2
    Last Post: 11-28-2012, 10:41 AM
  3. Replies: 4
    Last Post: 04-18-2012, 12:09 PM
  4. Write "Edit List Items.." data back to original form.
    By ngahm in forum Database Design
    Replies: 33
    Last Post: 02-27-2012, 06:54 PM
  5. Creating "Edit Record" link in table column
    By joshearl in forum Forms
    Replies: 1
    Last Post: 12-25-2009, 11:17 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