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
manuelmercado at prodigy dot net dot mx
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
Bién... desde la version 5.3 del clipper, que asi és.
FIELD CAMPO1, CAMPO2, CAMPO3, etc.
Ó
INDEX ON FIELD->CAMPO1, etc.
y No
INDEX ON cAlias->CAMPO1
Porque el nombre del banco de datos ya esta abierto.
Saludos.
karinha wrote:mmercado wrote:http://fivetechsoft.com/forums/viewtopic.php?t=10671
DEBES INDEXAR ASI:
INDEX ON _FIELD->CAMPO1+_FIELD->CAMPO2 TAG ORD1 TO PEPE
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 NILDBCreate(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