@mashigan & @miran Ty guys, you both point me to tables and i also thought that tables would solve my problem. I thought that tableref would reference the content like record number. But it reference the whole table. The point is that i want to prevent to walk through the whole table to see if a value exists. But i think that there is no other option.
But now i am thinking/talking about it, i suddenly have a idea what would solve this. Because i know what the key's are before compilation. Thanks guys.