Hi,
given the following forms:
- devices:
- hardwares:
- device: Smart Dropdown from devices
- location: Text
I want to make a tableview for devices, showing the fields of the form + a field showing a list of all the locations of that specific device on the hardwares form.
Currently I use:
id.queryAndSet(hardwares:@self;device:[entry.id];location)
which works, but since one location can have several occurrences of the device, I get a list containing duplicates.
Is there a way to filter the duplicates out of the output?
another thing I tried was making a queryAndRender table showing each location and the count of occurrences of the device in the location, but I meet the same issue there.