Page 1 of 1

Tdatabase ordcreate temp

Posted: Fri Jan 26, 2024 12:01 pm
by Silvio.Falconi
I use tdatabase

Select( oTemp4:nArea )
index on oTemp4:jump To Temp

why make error ?

Re: Tdatabase ordcreate temp

Posted: Fri Jan 26, 2024 11:15 pm
by nageswaragunupudi
if DBFCDX

Code: Select all | Expand

INDEX ON FIELD JUMP TAG JUMPTMP TO TMP TEMPORARY
OR
Using this syntax:

Code: Select all | Expand

METOD CreateIndex( cFile, cTag, cKey, lUnique, lDescend, lMemory )

Code: Select all | Expand

oTmp4:CreateIndex( "TMP", "JUMPTMP", "JUMP", nil, nil, .T. )

Re: Tdatabase ordcreate temp

Posted: Sat Jan 27, 2024 9:37 am
by Silvio.Falconi
nageswaragunupudi wrote:if DBFCDX

Code: Select all | Expand

INDEX ON FIELD JUMP TAG JUMPTMP TO TMP TEMPORARY
OR
Using this syntax:

Code: Select all | Expand

METOD CreateIndex( cFile, cTag, cKey, lUnique, lDescend, lMemory )

Code: Select all | Expand

oTmp4:CreateIndex( "TMP", "JUMPTMP", "JUMP", nil, nil, .T. )
thanks