Append SDF fails

Append SDF fails

Postby Vytas » Fri Jan 20, 2006 2: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
Vytas
 
Posts: 25
Joined: Sun Oct 23, 2005 9:58 pm

Postby Antonio Linares » Fri Jan 20, 2006 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41366
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby James Bott » Fri Jan 20, 2006 5: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 25 guests