I create my index from inside my procedure with:
- Code: Select all Expand view RUN
USE mydbf
INDEX ON mydbf->lastname INDEX myntx
If i open the .dbf and .ntx with:
USE mydbf INDEX myntx
all works ok (apparently, but i have problems moving record from my browses, etc.), but if i open the same files with the alias clause:
- Code: Select all Expand view RUN
USE mydbf INDEX myntx ALIAS myalias
i receive a runtime error "Error base 1002/ ALIAS mydbf DOES NOT EXIST" (!?) .
I receive the same error (on the 2nd row) if i try to open the .ntx file with:
- Code: Select all Expand view RUN
USE mydbf ALIAS myalias
SET INDEX TO myntx
If i create the same .ntx file with DBU utility of clipper 5.2, all works ok!
Please help me! There is a bug with the "INDEX ON" command?
Or something wrong or incomplete in my code?
Thank you.
max
FWH 8.04 - XHARBOUR 1.1.0