Page 1 of 1

Append SDF fails

Posted: Fri Jan 20, 2006 2:33 pm
by Vytas
I am using FWH 2.5 when I have an append line as follows the program crashes.

...
USE Tmp
append from (FileName) SDF
...

The error I get is DBFNTX/1021 Data Width Error
Called from Fieldput(0)
Called from __DBSDF(196)
...

However if I use the same code in Clipper
the append works correctly.

Is there an issue with the append command in FWH 2.5?

Thanks,

Vytas

Posted: Fri Jan 20, 2006 2:59 pm
by Antonio Linares
Vytas,

APPEND command is a Harbour/xHarbour feature, not a FWH capability.

Please try again with this current builds:

www.fivetechsoft.com/files/harbour.exe
www.fivetechsoft.com/files/xharbour.exe

You will need an upgraded FWH 2.7 version for them, but you may build a console mode (MsDos alike) test to check APPEND behavior.

Posted: Fri Jan 20, 2006 5:10 pm
by James Bott
Usually this is caused by a number being to large for the field. Perhaps Clipper just truncated it without giving an error.

James