Alguien sabe que significa este error?
hb_cdxpageseekkey:wrong parent key
No me da mayor explicacion, el errorsys no recibe información de este tipo de errores?
Urgente, gracias.
Manuel Mercado
mmercado wrote:Alguien sabe que significa este error?
hb_cdxpageseekkey:wrong parent key
No me da mayor explicacion, el errorsys no recibe información de este tipo de errores?
Urgente, gracias.
Manuel Mercado
karinha wrote:mmercado wrote:http://fivetechsoft.com/forums/viewtopic.php?t=10671
karinha wrote:mmercado wrote:http://fivetechsoft.com/forums/viewtopic.php?t=10671
FUNCTION Main
Local cTemp := "MYFILE.DBF", cFileCdx := "MYFILE.CDX"
Local nI := 1
SET DATE TO FRENCH
SET EPOCH TO 1960
SET CENTURY ON
SET DELETED ON
REQUEST DBFCDX
RDDSETDEFAULT( "DBFCDX" )
REQUEST HB_LANG_ES
HB_LANGSELECT("ES")
IF FILE("MYFILE.CDX")
ERASE MYFILE.CDX
ENDIF
IF FILE("MYFILE.DBF")
ERASE MYFILE.DBF
ENDIF
DBCreate(cTemp,{ {"COD","C",10,0} ,;
{"DES","C",196,0}}, "DBFCDX" )
SELE 0 ; USE (cTemp) EXCLUSIVE NEW ALIAS TEMP VIA "DBFCDX"
INDEX ON field->COD TAG COD TO (cFileCdx)
INDEX ON field->DES TAG DES TO (cFileCdx)
SET INDEX TO (cFileCdx)
FOR nI = 1 TO 150 //137 TO 161
DBAppend()
NEXT
FOR nI = 1 TO 250
DBAppend()
NEXT
dbcloseall()
RETURN NIL
DBCreate(cTemp,{ {"COD","C",10,0} ,;
{"DES","C",197,0}}, "DBFCDX" )
This error can occur when one of the following problems exist:
1. The seek key is not the correct length.
Maximum length of key expression text and maximum length of conditional expression text NTX 256 bytes
IDX (non-compact) 220 bytes
IDX (compact) 512 bytes**
CDX 512 bytes**
Maximum length of evaluated key expression NTX 256 bytes
IDX (non-compact) 100 bytes
IDX (compact) 240 bytes
CDX 240 bytes
Return to FiveWin para Harbour/xHarbour
Users browsing this forum: Google [Bot] and 37 guests