HI,
I want to confirm the usage on those command:
-
IDADataset using
as Below:
dsM_Ins:IDADataset;
dsM_Ins := AllTableDASchema.NewDataset(Connection,‘TEST_TBL’);
dsM_Ins.open;
After finish dsM_Ins , need free it? -
IDASQLCommand usage
cmdMtr:IDASQLCommand;
cmdMtr := AllTableDASchema.NewCommand(Connection,‘MAKE_IOP_SUSPEND_STATUS’);
cmdMtr after using, need free?
- I create a service function to update aaa_tbl many records.
I using below way to do:
lda := TDALocalDataAdapter.Create(Self.Name);
adt := TDAMemDataTable.Create(nil);
adt.LogicalName := ‘AAA_TBL’;
adt.RemoteDataAdapter := lda;
adt.RemoteFetchEnabled := True;
adt.Open;
Doing_My_Update Logic;
adt.Applyupdate;
Is it correct to use TDALocalDataAdapter like that?
- As IDADataset not support Locate function as it unidirectional dataset.
if I need use locate , is it need use TDALocalDataAdapter with TDadatatable?
Please advise.