Hi all, I have an action that is giving me the wrong result, was wondering if anyone had a moment to look at it for me.
My inventory app has two tables:
Bank2026 which contains columns Barcode # (key) and Found Room (target of the action), plus some information columns. This information is a list of equipment I need to locate for the annual inventory.
Scans2026 also contains Found Room, and 12 slots for scanned barcodes, labeled Barcode Scan 1âŚN, a timestamp, and a virtual column which concatenates the barcodes list as so:
CatBarcodes=
concatenate(
[Barcode Scan 1], â;â,
[Barcode Scan 2], â;â,
[Barcode Scan 3], â;â,
[Barcode Scan 4], â;â,
[Barcode Scan 5], â;â,
[Barcode Scan 6], â;â,
[Barcode Scan 6], â;â,
[Barcode Scan 8], â;â,
[Barcode Scan 9], â;â,
[Barcode Scan 10], â;â,
[Barcode Scan 11], â;â,
[Barcode Scan 12]
)
I want Action: Set Room for record in Bank2026 to set these columns:
Found Room = Select(SCANS2026[Found Room],CONTAINS(SCANS2026[CatBarcodes],[_THISROW].[Barcode #]))
So that when I go to an entry in Bank2026 and press Set Room, it populates the single room where the item was found. However, instead I get the complete list of all rooms.
Any idea where my mistake is?
Thanks in advance.