Help with using clipboard to search values from table

Hello Everyone. My idea is to copy a name and use the snippet to search from a table and get all values from that row. Apparently it does not recognize the value from the clipboard or cannot find it in the table, even though I'm copying straight from it.

{dbselect: SELECT NOME, CPF, EMAIL, CARGO FROM sei ls WHERE contains(NOME,{clipboard} ); space=6if4pS5TuFDIHKCkcM52FU; menu=no}
NOME: {=NOME} ({=CARGO})
CPF: {=CPF}
EMAIL: {=EMAIL}

Hi Nando,

I don't see any immediate issues with your snippet.

One thing I would check is if you are copying the name exactly as it appears in the column. For example, if you copied "name1 " (note the space at the end) but the cell has a value of "name1" (no space) that would not match.

I would suggest printing out the clipboard in your snippet to confirm it is exactly as you expect. For example, something like:

Clipboard: [{clipboard}]