Copy TMsQuery to TVirtualTable
Posted: Tue 26 May 2015 19:40
Hello,
I need to copy a TMsQuery dataset that is openned in dsInsert state to a TVirtualTable (or to another TMsQuery).
I tried using TVirtualTable.Assign(dsMsQuery), but when I do this, the state of the dsMsQuery is changed to dsBrowse.
Is there a way that I could clone a MsQuery dataset without changing its state? I cant change it after I copy the dataset.
Thanks in advance.
I need to copy a TMsQuery dataset that is openned in dsInsert state to a TVirtualTable (or to another TMsQuery).
I tried using TVirtualTable.Assign(dsMsQuery), but when I do this, the state of the dsMsQuery is changed to dsBrowse.
Is there a way that I could clone a MsQuery dataset without changing its state? I cant change it after I copy the dataset.
Thanks in advance.