Hi,
Here I have a little example that is not working.
The program doens't open the countu.tmp database.
Can anyone tell me why. It is working in FW + clipper 5.2e
The error occur in the last line 'go top'
Thanks
Marc
Here I have a little example that is not working.
The program doens't open the countu.tmp database.
Can anyone tell me why. It is working in FW + clipper 5.2e
#INCLUDE "fivewin.CH"
REQUEST DBFCDX
FUNCTION test()
local vstruct:={}
RDDSETDEFAULT("DBFCDX")
dbstructuur:={}
aadd(vstruct,{'NTWKNUM','C',2,0})
aadd(vstruct,{'NODENUM','C',2,0})
aadd(vstruct,{'NODETYP','C',5,0})
aadd(vstruct,{'NTWKTYP' ,'C',5,0})
aadd(vstruct,{'POINTS' ,'N',7,0})
dbcreate('count.tmp',vstruct)
use ('count.tmp') new
index on str(val(ntwknum),2) to ('countu') unique
copy to ('countu.tmp')
use countu.tmp new
go top
RETURN nilThe error occur in the last line 'go top'
Thanks
Marc
Regards,
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc
FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite