I need to include a where clause in a SQL statement with a double select field to configure a many-to-many field as follows:
select idacciones, dsacciones
from acciones
WHERE
idempresa={idempresa}
ORDER BY fecha desc
the problem is that way I can’t activate any search field. I get this error:
With search,a linked table can not use a local variable in select. field = acciones.
any idea?