Grid datasource at runtime

Is it possible to do change a grid datasource at runtime and change their column properties datasource and datafield too?

I’m a bit concern whether you aren’t trying to apply a wrong solution, because this is a highly unusual thing to do…

… nevertheless it is possible. You can create a data source for a table called Common (= a common parent of all tables) and set it’s table() property and generate columns at runtime. That’s exactly how SysTableBrowser works.

If you describe the problem, maybe you’ll get another suggestion.

Interesting, Ill try that.

TY

I was trying to link 2 datasources for the same table where this is a child and parent.

And display the child in a different grid