Estou testando o letodb, estou precisando da ajuda de vocês, com relação a abertura do indice que é CDX.
O letodb está instalado em c:\letodb e o arquivo de configuração letodb.ini está assim:
Port = 2812
DataPath =g:/harbour/delivery/db
Logfile = "letodb.log"
Default_Driver = CDX
Lower_Path = 1
O programa que fiz para testar:
FUNCTION MAIN
REQUEST LETO
RDDSETDEFAULT( "LETO" )
cServer:='//192.XXX.X.X:2812/'
IF leto_Connect( cServer ) == -1
Alert( "Can't connect to server ..." )
ENDIF
DBUseArea(.T.,,cServer+'makeline','makeline',.t.)
//set index to makecdx
DBEDIT()
RETURN
Até a abertura do DBF, Ok.
Como eu faço para abrir o indice desta tabela?