I am learning Devart's mydac Data Access Components and I have few question I have not been able to resolve through online searches and the documentations. In the code examples, I see invocation of TMyTable.Open but I could not find the description in TMyTable class or its inheritance path. I would like to as if anyone can point me to the documentation of this method and whether it has any relationship to TDBGrid class.
Thanks in advance
TDataSet.Openis generally used to get a data cursor back from the database.In order to use a
TDBGridyou need to connect it to theTDataSet(In your case aTMyTable) through aTDataSource.On the other hand
TMyTable.Executewill only run your SQL code on the server and not retrieve any data (except for some info on the affected rows).You normally use
ExecuteforINSERT,DELETE,UPDATE, etc andOpenforSELECTstatements.