PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Refresh table control after edit control input + query
Refresh table control after edit control input + query
Iniciado por FSISTI, 24,ago. 2015 14:51 - 1 respuesta
Miembro registrado
2 mensajes
Publicado el 24,agosto 2015 - 14:51
Hello,

i have an issue using the following elements:
-edit control
-query
-table control

the table control is linked to the query, the edit control passes the parameter to the query.

I wrote a small procedure to update the table control after something is written in the edit control (the procedure is fired via ajaxexecute on the exit and chenge events of the table control). The procedure is executed but the table control is not updated. If i click on the table control, the data browsed from the query is being displayed.

If i execute the procedure by clicking on a button, everything works fine.

I think it' ssomething related to the table control refresh. I did try also tabledisplay command after the query but nothing happens.

Any idea?

Thank you
Miembro registrado
16 mensajes
Popularité : +1 (1 vote)
Publicado el 01,septiembre 2015 - 17:42
Hello,

If I understand correctly, you want to execute a query and fill a table with a parameter (the edit control).

Maybe you can try to do an 'ExecuteProcess(btn_refresh, trtClick' instead of the ajaxexecute. Check 'Ajax' on the button.
If this doesnt work with 'Ajax' try without it.

Keep me posted !