I have a read only grid whose recordsource is local view
it displays also information from relate tables.
When user presses find button, a list of query names is presented.
After selection, a create view command is created according to selected query and executed.
New view having differeng where condition is created.
Records returned by this new view needs to be show in grid.
However, after creating new view, grid is empty and relations are lost
seting temporarily grid.recordsource='' before create view doesnt help.
How to switch views?
Andrus