I created a Datasource named Horas whith a Query Server Script, and I make a Custom Parameters named Usuario.
I bind in a page with datoasource Horas as
textField.value <-> datasource.query.parameters.Usuario
And I get the error:
Error: Parameter '
Usuario' is used in 'where' clause but not defined in property 'parameters'. atdatasources.Horas
Horas is a Query Server Script datasource
var query = app.models.Registros.newQuery();
query.where = 'Usuario =? :Usuario';
var allRegistros = query.run();
I expected to get a table with data filtered by Usuario,
How to get ride of the error?