Forum Discussion

KevinPlant's avatar
KevinPlant
Qrew Cadet
8 years ago

Adding multiple child records to a parent record

I am creating a 'Request for quotation' (RFQ) parent record which is saved with a reference number (Record ID). Once saved i need to add, as child records,any number of 'Configuration' records.

I have the necessary relationships set up and i can display a filtered grid edit report of 'Configurations' from which i can use the dropdown [Related RFQ] to add multiple records to the RFQ.

My issue is that the [Related RFQ] dropdown will list all previously created RFQ's too - providing the opportunity to mistakenly add 'Configuration' records to other RFQ's. How can i ensure that 'Configurations' can only be added to the current RFQ record?

Thanks 

15 Replies

  • Kevin,
    I will wade into this one.

    Going back to your original question.

    "How can i ensure that 'Configurations' can only be added to the current RFQ record?"

    Can you tell me how we know we know which is the Current one.  Is it a case where the user needs to select a RFQ to being as being "Current"?
  • Hi, thankyou for wading in! I have created a form where a new RFQ header record is created and saved. Once saved, on the same form i have a report link to a list of filtered Configuration records which are available to be added. I cannot figure out a way to pick up the current RFQ reference and allow only this to be selected in the [Related RFQ] field on the Configuration record.
    • KevinPlant's avatar
      KevinPlant
      Qrew Cadet
      The report link data is displayed as a grid edit form.
    • QuickBaseCoachD's avatar
      QuickBaseCoachD
      Qrew Captain
      Kevin,

      I understand your issue.

      I would approach this differently. I have a technique which I could implement for you, and then you would know how to use it yourself in other situations.

      The technique is native and roughly follows these steps.

      The user click a button on a Parent , the RFQ, and it would record that Record ID in a table of users which is self maintained by that button click. Ie a userid is added for the current user or else edited.

      That then sets focus in that RFQ for that user.

      Then at the end of the button click it presents a list of Config�s which are not asisgned. This is on a traditional table report with access to Dynamic filters and the filter box.

      The user then click click clicks on any Configs to be attached to the RFQ.

      When finished clicking, the user then hits a button to return to the RFQ to satisfy the self that the configs have been added.

      It usually only takes me an hour or two depending on how the dynamics of the call goes to get get that working and my clients then can use the technique for them self going forward. There is no script, just formula url buttons.

      Contact me via my website QuickBaseCoach.com if you would like to discuss off line.
  • Probably the report link is not correctly connected , the report link is a great feature because is really open, and lets you to connect wherever you want but it makes it tricky because it can be easily wrong configured.



    Select Edit proprieties in this field , and then you go to your field "Report Link" and check 


    Check that your "related RFQ" in "configurations" table is connected to the "RFQ" field in the parent table.

    I hope it helps. 

    If you want you can share a shoot screen of your proprieties in the Field " Liked report" .