Results 1 to 4 of 4
  1. #1
    Blackjack is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2020
    Posts
    2

    Multiple subforms populating the same junction table - the subforms collide and overwrite each other

    Hello, I'm a first time database developer, I've been working slowly and researching the answers to problems as they come up, but this one has me truly stumped.

    Background: This is a database to track Requests for Proposal (RFPs). An RFP is like a sales lead, but it is a discreet event, with an issue date and a due date. A prospective client can (and usually does) issue RFPs to our organization more than once, and they can (and usually do) continue issuing RFPs even after becoming clients. My team supports more than a dozen different products that we might be pitching in a response. Depending on the prospect/client and product in scope, various employees will be involved in responding to the RFP.

    Tables: I have the following tables: RFPs, Employees, Clients/Prospects, Products. There are junction tables between the RFP table and each of the other three tables (each are many-to-many relationships), so 3 junction tables in all. (There are also a handfull of small tables that I'm using to populate comboboxes for things like "RFP status")

    Problem: I'm trying to design the form that the user will use to create a new RFP record and populate the various junction tables with the appropriate Clients/Prospects, Employees, and Products. The issue is with the employees. A single subform that allows the user to add all of the employees at once will not work well because the user would like to add three distinct types of employees: "writer", "financial advisor", and "sales".

    Writer: Each RFP has one and only one writer.



    Financial Advisor (FA): These are special salespeople that are sometimes involved with an RFP. They tend to work in teams, but an RFP can also have more than one FA team.

    Sales: This includes regional wholesalers, internal support, product specialists, and pretty much anyone who is not an FA or a Writer.

    For Writer, even though in a perfect world I would like them to be associated with RFPs in the same junction table as the Sales and FAs, I created a field in the RFP table that holds the foreign key of the writer (from the Employee table), it filters on the appropriate field so that the user only sees eligible writers in the combobox. This seems like something I can live with unless there's a user friendly way to do the form that will populate the writer into the RFP-Employee junction table.

    For FAs and Sales, I tried to have individual subforms for each (so two on the form), and each subform filtering employees to show only eligible FAs or eligible Salespeople, but it did not work. If one of the subforms is populated, when you try to add records to the other one, it overwrites an existing record rather than adding it onto the end. I searched the properties of the subform to see if I could change this behavior in settings, but I couldn't find anything.

    Workaround:
    One potential workaround I thought of is to just have two different junction tables. One to capture RFPs-Advisors, and one to capture RFPs-Sales. Both junction tables would sit between RFPs and Employees, but each one could have their own subform. My hesitation here is that all of the information theoretically belongs in the same junction table. Am I creating a problem down the road if I do this?

    Appreciate any help here, maybe there's just a property of subforms that I'm not aware of, or there's some other simple fix, or maybe I'm just conceptualizing the problem wrong.

  2. #2
    orange's Avatar
    orange is offline Moderator
    Windows 10 Access 2016
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,726
    What does your company do currently to handle/process RFPs?
    May be helpful to you and readers if you could provide some sample/mock data --like Porky Pig, BigCity, Big Project... showing the gist of the RPF, potential Product/solution, other related activities/things needed to process an RFP from initiation thru to completion.
    Good luck with your project.

  3. #3
    Blackjack is offline Novice
    Windows 10 Access 2013 64bit
    Join Date
    Aug 2020
    Posts
    2
    Thanks for your quick response.

    1. We currently track RFPs in an Excel spreadsheet. Completed deals are moved off the main worksheet to background worksheets, and at the end of the year the whole spreadsheet is archived and a new spreadsheet is created for the upcoming year. This is the tracking system I'm trying to replace. The actually process them, a writer is assigned. The writer hosts a conference call with all of the appropriate FAs and salespeople, then drafts a response to the RFP using a separate content database. (We use an outside vendor to host the content database.) The FAs and salespeople then review the draft, and make suggested edits. Finally a manager reviews the response, and the final version is submitted back to the issuer by the FA (if there is one) or the salesperson.

    2. A good example of an RFP is available here. https://higherlogicdownload.s3.amazonaws.com/INVESTMENTADVISER/aa03843e-7981-46b2-aa49-c572f2ddb7e8/UploadedImages/publications/ModelRFPEquityFinal.pdf
    3. I've replicated the existing tracking spreadsheet here with anonymized information. This is pretty close to what the tracking spreadsheet looks like. To be clear, I am not going to use the existing schema in my database design, this is just what exists today. I'm uploading an xlsx and a screenshot of it.

    Click image for larger version. 

Name:	RFP Tracking Spreadsheet.jpg 
Views:	13 
Size:	63.0 KB 
ID:	42872Sample RFP Tracking Spreadsheet.zip

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Post 3 was moderated, I'm posting to trigger email notifications. I'll also delete the duplicate moderated post.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Junction tables, subforms?
    By thegrimmerdiscovery in forum Access
    Replies: 2
    Last Post: 09-20-2019, 01:09 AM
  2. Replies: 7
    Last Post: 11-10-2015, 03:49 PM
  3. append/overwrite (update?) junction table from Excel
    By Atoga in forum Import/Export Data
    Replies: 3
    Last Post: 04-30-2015, 02:34 AM
  4. Populating forms with subforms
    By Katiemay in forum Forms
    Replies: 1
    Last Post: 07-12-2013, 11:12 AM
  5. Replies: 10
    Last Post: 05-29-2013, 11:39 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