Page 1 of 1

LoadFromFile causes "Dataset not in edit or insert mode" error

Posted: Fri 21 Dec 2018 21:08
by starhu
I save the data like this:
MyVirtualTable.SaveToXML(MyFileName);

... and when later load the data:
MyVirtualTable.LoadFromFile(MyFileName);

... I get "Dataset not in edit or insert mode" error.

What should I do?

Thank you.

Re: LoadFromFile causes "Dataset not in edit or insert mode" error

Posted: Sat 22 Dec 2018 09:30
by MaximG
We tested the operation of our product according to your description and found no problems. For further investigation, please compose and send us the simplest sample, execution of which causes the issue. It is convenient to do using the e-support form https://www.devart.com/company/contactform.html

Re: LoadFromFile causes "Dataset not in edit or insert mode" error

Posted: Sun 23 Dec 2018 20:13
by starhu
The dataset was connected with a Tedit which triggered an unwanted event.
Sorry to have bothered you with this.

Re: LoadFromFile causes "Dataset not in edit or insert mode" error

Posted: Wed 26 Dec 2018 10:18
by MaximG
We are glad to see the problem resolved. Please don't hesitate to contact us with questions concerning our product usage.