batch update 9.6.20 c++ builder
Posted: Tue 22 Sep 2015 12:48
From your (delphi) example the new Batch Update Feature tells:
In c++ builder (xe8 pro), I can't use it .
cannot be compiled. I have to write
Hoping the effect is the same????
Also,
raises an exceptionat runtime. I tried [1] but I also get exception.
I tried also
but it also fails.
Is it feasable to use this feature in c++?
KR,
Alain
Code: Select all
Query1.Params[0].DataType:=ftInteger;
Query1.Params[1].DataType:=ftInteger;
for i := 0 to Query1.Params.ValueCount - 1 do begin
Query1.Params[0][i].AsInteger := i + 1;
Query1.Params[1][i].AsInteger := i + 2000 + 1;
end;
Code: Select all
Query1->Params[0]->DataType:=ftInteger;
Code: Select all
Query1->Params->Items[0]->DataType=ftInteger;
Also,
Code: Select all
Query1->Params[1][i]->AsInteger = i + 1;
I tried also
Code: Select all
Query1->Params[i].Items[1]->AsInteger=i+1;
Is it feasable to use this feature in c++?
KR,
Alain