OK.
Back to the grid.
Run OnRecord:
[arr_email_to][] = {supplier_id}; <-- the name supplier_id is an example, it has to be the name of the primary_key field of your fornitorischede table.
Control app
$email_sql = “SELECT … WHERE email IN [var_email_to]”; <-- again, the field (email) in the WHERE clause has to be the name of the primary_key field of your fornitorischede table. It is the same as above.
jsb