I am trying to use TOracleDirectPathLoader but an exception EOracleError with message 'ORA-01438: value larger than specified precision allows for this column.
Followed by ORA-01001: invalid cursor.
This occurs when Loader.Load(Row) is executed. What am I doing wrong?
Thanks
while not Eof(F) ...
Readln(F,S);
Memo1.Lines.Add(S);
S := IntToStr(Row);
Loader.ColumnByName('BatchNo').SetData
(Row,@S[1],10);
Loader.ColumnByName('AccountNo').SetData
(Row,@S[11],8)
...
Inc(Row);
if (Row = Loader.MaxRows) then
...
Followed by ORA-01001: invalid cursor.
This occurs when Loader.Load(Row) is executed. What am I doing wrong?
Thanks
while not Eof(F) ...
Readln(F,S);
Memo1.Lines.Add(S);
S := IntToStr(Row);
Loader.ColumnByName('BatchNo').SetData
(Row,@S[1],10);
Loader.ColumnByName('AccountNo').SetData
(Row,@S[11],8)
...
Inc(Row);
if (Row = Loader.MaxRows) then
...