I don麓t understand what you say about dates.
Your xHarbour version has a bug, but recent Harbour and xHarbour must have an emtpy date, and it麓s achieved by using AdoNull().
This code at ADO_APPEND() works fine and have been tested:
AADD( aVals, HB_DECODE( aStruct[ n, 2 ], 'C', Space( aStruct[ n, 3 ] ), 'D', AdoNull(), 'L', .f., ;
'M', "", 'm', "", '+', 0, ;
'N', If( aStruct[ n, 3 ] == 0, 0, Val( "0." + Replicate( '0', aStruct[ n, 3 ] ) ) ), ;
'T', AdoNull(), '' ) )No, I have not use COPY TO or APPEND TO. I see your point about the fix for HBRECNO.
But your code at ADO_OPEN did麓t work: the SQL sinxtax at ALTER TABLE and the condition to execute both fail.
FW provides SQL ALTER TABLE <tbl> <cop:ADD,MODIFY,ALTER> [COLUMN] <acol> => FW_AdoAddModiColSQL( <(tbl)>, <acol>, <"cop"> )
I asked Harbour and xHarbour developers help about Filters.
ADORDD is close to be ready.
Thank you.
Un saludo, Best regards,
Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producci贸n]
Implementando MSVC 2010, FWH64 y ADO.
Abandonando uso xHarbour y SQLRDD.