Hey guys im having trouble trying to do a simple action
I have a form called modulo_tesoreria, wich contains a grid, and a search button that contains the code to fill the grid with a query.
The issue i have is, i call a second form named cargar_formas_de_pago, the first form "modulo_tesoreria" stays on the background, and i make changes on the database using "cargar_formas_de_pago, i need the first form "modulo_tesoreria" to execute the Click event on the search button each time i commit a change on the database.
I tried using
DO FORM modulo_tesoreria
WITH _SCREEN.ActiveForm
.paginas.estado_ventas.grid_estado_ventas.Refresh
ENDWITH
But this opens a new modulo_tesoreria window and i want to use the one already open on the background
I have a form called modulo_tesoreria, wich contains a grid, and a search button that contains the code to fill the grid with a query.
The issue i have is, i call a second form named cargar_formas_de_pago, the first form "modulo_tesoreria" stays on the background, and i make changes on the database using "cargar_formas_de_pago, i need the first form "modulo_tesoreria" to execute the Click event on the search button each time i commit a change on the database.
I tried using
DO FORM modulo_tesoreria
WITH _SCREEN.ActiveForm
.paginas.estado_ventas.grid_estado_ventas.Refresh
ENDWITH
But this opens a new modulo_tesoreria window and i want to use the one already open on the background