HeatherBryant2
5 years agoQrew Assistant Captain
Formula to find duplicate values in one field.
Hi Community,
I'm working with one table, named Jobs. In this table there are Parent Jobs and Sub-Jobs. Typically I would set up Sub-Jobs as a child table to Parent but due to the requirements of the app the two needed to be in the same table.
I'm working with one table, named Jobs. In this table there are Parent Jobs and Sub-Jobs. Typically I would set up Sub-Jobs as a child table to Parent but due to the requirements of the app the two needed to be in the same table.
Each Parent Job has a 6 digit ID (ie; 808888). Each Sub-Job carries that Parent ID and also a Sub-Job ID is tagged on to the end. (ie; 808888.001) I've created a report link on the Parent Job form to show Sub-Jobs that share the same Parent ID. This works fine. What I'm looking to do is hide this report when the Parent Job does not have any Sub-Jobs. Normally we would do this would with a form rule reading a summary field, but I need a work-around for QB to look at the Parent and identify if there are not any other records that share the ID.
If I could get a formula checkbox to read whether there are other records with the same ID I could use that as a form rule to hide the report. But I don't know how to do that.
If I could get a formula checkbox to read whether there are other records with the same ID I could use that as a form rule to hide the report. But I don't know how to do that.
------------------------------
Heather Bryant
------------------------------