Estoy creando una aplicacion de ingresos y salidas de personal.
En la columna hora estoy usando timenow() o now(), el problema es, que ahi registra la hora en la que se inicia a llenar el registro, no la hora en la que se guarda el registro.
¿Como puedo guardar la hora en la que se guarda el registro?
You can create a data action first to set timenow() to the column you want
but then go to the form view / behavior / and select the data action you have created to be triggered once the form is saved
COMO LO HICISTE? porque cuando voy a action, pongo add action, create a new action, después For a record of this table pongo asistencia (dondes se guardan todos los registros de asistencia), Do this ; data: set the values of the some columns in this row, pero cuando en Set these columns, quiero seleccionar no me sale hora.
Hora la tengo en Data: asistencia, name hora, type time, formula timenow(), con check en show, editable y search.
usaba now() en inicial value, pero se congelaba la hora al iniciar el registro y algunas veces se tardaba en hacer el registro y no se guardaba el registro cuando realmente se guardo sino en cuando se inició.