Kindly help please,
Intermitantly, I am facing the following errors, during indexing and/or accessing data+index files, and it is so unpredictable.
Application Internal Error - \Program Files\RSCPDA1\RSCPDA.exe
Terminated at: 2012.05.21 16:04:59
Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.
Called from DBUNLOCK(0)
Called from PVDATA3(1680) in client2.prg
Called from (b)INDEXFILES(1503) in client2.prg
Application Internal Error - \Program Files\RSCPDA1\RSCPDA.exe
Terminated at: 2012.05.20 17:45:58
Unrecoverable error 1010: hb_cdxIndexPageRead: Read index page failed.
Called from DBUSEAREA(0)
Called from NETUSE(1803) in client2.prg
Called from OPEN_DB(214) in client2.prg
what could have contributed to this kind of unpredictable error ?
Kindly help.
Thanks & best regards.
CL Low
///////////////////////////////////////////////////
.
.
.
Request DBFCDX
RddSetDefault ('DBFCDX')
HB_LANGSELECT( "ENWIN" )
SET DELETED ON
SET DATE TO BRITISH
SET EXACT ON
SET SOFTSEEK ON
SET CENTURY ON
SET EPOCH TO 2000
.
.
.//PVDATA3
select xc
if addrec(3) .and. reclock(3)
for i:=1 to 11
xc->(fieldput(i,CL3->(fieldget(i))))
next
xc->(fieldput(12,date()))
xc->(fieldput(13,time()))
replace xc->pda with zpda
unlock
endif
.
.
.
.
netuse(progpath+"imachine","xx",.T.,3)
ordCreate( (progpath+"ipdainfo" ), "id", "id")
ordCreate( (progpath+"ipdainfo" ), "code", "code" )
sleep(10); CLOSE ALL; dbcloseall()