Problem resolved!
The error was in the STR(JNUMMER) in the index key - this makes variable length index keys and xBase can't handle that
(I even tried to do the above in Clipper code and got the same errors).
Changing it to STR(JNUMMER,10) solved the problem.
Somewhere deep in my memory I...
I would say
SET UNIQUE ON
then create an index and always handle your database with that index open
I'm not sure what dBase does if you try to add a record with the same key. You can try.
Bye
Jan
I have a weird problem in dBase III+
DB structure:
Field Field Name Type Width Dec
1 JNUMMER Numeric 6
2 BRIN Character 4
3 PLDATUM Date 8
4 LEERJAAR Numeric 1
5 TICK Logical 1
(set date british...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.