PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD] Change Data source of a table control on runtime by programming
[WD] Change Data source of a table control on runtime by programming
Iniciado por guest, 04,jul. 2018 19:06 - 1 respuesta
Publicado el 04,julio 2018 - 19:06
Hello all,
Can I change the Datasource of a query-based table-control to another query of a same structure on runtime by programming ?
say like TablechangeDatasource("Qry2")

Thanks

Biju
Publicado el 04,julio 2018 - 19:30
MyTable..BrowsedFile = "MyQry2"
TableDisplay(MyTable,taReExecuteQuery)

Should do what you require