PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → 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
Débuté par biju, 04 juil. 2018 19:06 - 1 réponse
Posté le 04 juillet 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
Posté le 04 juillet 2018 - 19:30
MyTable..BrowsedFile = "MyQry2"
TableDisplay(MyTable,taReExecuteQuery)

Should do what you require