Append SDF fails

Post Reply
Vytas
Posts: 25
Joined: Sun Oct 23, 2005 9:58 pm

Append SDF fails

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
James Bott
Posts: 4654
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA
Contact:

Post 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
Post Reply