FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Append SDF fails
Posts: 25
Joined: Sun Oct 23, 2005 09:58 PM
Append SDF fails
Posted: Fri Jan 20, 2006 02:33 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Append SDF fails
Posted: Fri Jan 20, 2006 02:59 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Append SDF fails
Posted: Fri Jan 20, 2006 05:10 PM

Usually this is caused by a number being to large for the field. Perhaps Clipper just truncated it without giving an error.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion