TUniLoader: column names ignored?
Posted: Mon 11 Aug 2014 08:48
when using the TUniLoader component the column names seem to be ignored.
I use 5.3.9 and SQL Server 2014.
in a simple example, I have a table with 3 fields:
but when I look at the data in the database, the fields ID and AI0 have the values - AI1 has only nulls.
But according to the Columns list, the data should have been written to AI1 (not AI0).
it even works, when I specify a non-existing name for the TDAColum object (e.g. XXX instead of AI1').
I've also tried the OnGetColumnData function - with the same result. Any ideas what could be wrong?
I use 5.3.9 and SQL Server 2014.
in a simple example, I have a table with 3 fields:
- ID (datetime)
- AI0 float
- AI1 float
- ID
- AI1
Code: Select all
for I := 1 to 50 do
begin
Sender.PutColumnData(0, I, I);
Sender.PutColumnData(1, I, 2.2*I);
end;But according to the Columns list, the data should have been written to AI1 (not AI0).
it even works, when I specify a non-existing name for the TDAColum object (e.g. XXX instead of AI1').
I've also tried the OnGetColumnData function - with the same result. Any ideas what could be wrong?