Replacing 'textfield' input with DATASET info

I’m basicaly working on something that will consist of a ‘‘text field’’ where you could for exemple enter an equipement ID (ex: 30-XTO-001). I would like to use that input to search a dataset in order to ‘‘print’’ or ‘‘Show’’ its full tagpath in an other ‘‘text field’’.

For now i’m using:
If({EldScanFVNR.testField.text} = “50-BRO-11”,’[default]Tags/150-00-PLC-031/50 - Broyage/50-BRO-11/_50_BRO_11’ ,’’)

But i have over 100 tags so not the best way.
Anyone got a idea or a bette way?