Reference dataset of table on another window

Is there a way to reference/refresh the dataset property of a table on another opened window via a script?

The system.db.refresh() can do this. Your script would look something like:w = system.gui.getWindow("otherwindowname") c = w.rootContainer.getComponent("tablecomponentname") system.db.refresh(c, "data")