I created indexes DBFCDX using resulting fields of relationship as below:
Table
Index On
The two methods above generate the exception below:
Erro
Application
===========
Path and name: G:\prog\FiveWin\RCA Trade\ADS\RCATRAD@.EXE (32 bits)
Size: 6,361,088 bytes
Time from start: 0 hours 0 mins 10 secs
Error occurred at: 03/03/2009, 09:24:11
Error description: Error ADSCDX/3211 Erro de cria‡Æo: G:\RCA\RCATRAD@\ATUPRPRO
Table
PRODUTO PRODFOR FORNECEDOR
---------- ------- ----------
ECODIGO *------* ECODIGO +---* FCODIGO
EDESCRICAO FCODIGO *---+ FNOMEIndex On
select PRODUTO
//-- It creates relationship before indexing
select PRODFOR
DbSetOrder(1)
select ESTOQUE
set relation to ESTOQUE->ECODIGO into PRODFOR
//-- Index with alias
index on EDESCRICAO tag XXX to ("CDXTMP") for PRODFOR->FCODIGO == "0323"
//-- Index without alias
index on EDESCRICAO tag XXX to ("CDXTMP") for FCODIGO == "0323"The two methods above generate the exception below:
Erro
Application
===========
Path and name: G:\prog\FiveWin\RCA Trade\ADS\RCATRAD@.EXE (32 bits)
Size: 6,361,088 bytes
Time from start: 0 hours 0 mins 10 secs
Error occurred at: 03/03/2009, 09:24:11
Error description: Error ADSCDX/3211 Erro de cria‡Æo: G:\RCA\RCATRAD@\ATUPRPRO
FiveWin 9.03 + xHarbour !!