Hello..
is there a way to keep data and columns after close a binded DataSet or disconnecting the DatabaseAdapter?
like a "Work offline" mode
Hello..
is there a way to keep data and columns after close a binded DataSet or disconnecting the DatabaseAdapter?
like a "Work offline" mode
Yes, at adapter level there is a AutoRemoveColumns property. You can set this to False
Now it works, was necessary to use LoadMode to almAllRecords, KeepData = true and AutoRemoveColumns = false
but, I was desiring to edit data after close DataSet or set Active = false to Adapter
when I try to edit data, that disappears, even setting the Adapter = nil to Grid
is there a way to work like a "Populate" mode in grid?
I’ll check and will come back to you
KeepData is actually a flag to make sure the data is not cleared, but the data is still virtual, meaning it's not in memory. To effectively load the data in memory you need to call
TMSFNCDataGridDatabaseAdapter1.LoadAllData;
Hello, I've tested, but nothing different happens after calling LoadAllData..
the behavior is the same as I described before..
Could you share the entire code-snippet you used?
Archive.zip (13.8 KB)
We've applied a fix, next version of the TMS FNC UI Pack will address this.
Thanks!
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.