Skip to main content
Question

Link Records for Grouping in Same Report

  • February 28, 2018
  • 0 replies
  • 23 views

I have a table that has  'Material Number' and 'Linked Material Number'.  there could be 5 records with different Material Numbers, but all have the same  'Linked Material Number'.
There can be 'Material Number' records that the 'Linked Material Number' is empty, no links.

I need a report  that will list all the records that the 'Linked Material Number'  is the same in a group where at least one of them have the 'Due Date' populated.  If none of the linked records have the 'Due Date' populated,  none of them would show up on the report. It would also need to list any 'Material Number'  without a 'Linked Material Number'  if it had a 'Due Date' populated.  

Is this possible?

Thanks for any insight!

Jeanne
This topic has been closed for replies.

Do you have any relationships, or is this a single table?  Or is the table related to itself, perhaps?

the table 'COGS' is the parent table and has relationships to child tables.  but for this report i do not anything from any of the childern, all needed fields are in COGS.

thanks

You would need a relationship to a new table called Linked Material Number.  That would have a relationship down to the detail records and it would be able to summarize the information you need and look it up back down to the detail records.

The key field of that table would need to be set to be the field Linked Material number.

To initially populate that Table you would need to make a summary report on Linked material number to get all the unique values and then copy them, across to the new table.

If you go to add a record and the parent is not there, then you would need to create a new Linked material record for it.  Alternatively if you want to continue to be able to just free form in the data for Linked Material, there is a way with using an Action to auto create the parent record.

So this is kind of tricky to set up if you are new to Quick Base.  You may need some one on one help with this or several iteration on this forum here.