shamsham
03-04-02, 06:21
| Hi, I tried creating tables from a Btr file and it got created fine inheriting the structure and data from the btr file. But when I try creating indexes in the newly created table, the SRDE seems to throw an ODBC error: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ODBC Error: SQLSTATE = S1000, Native error code = -4993 The key number parameter is invalid(Btrieve Error 6) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ I had looked up for the Btrieve Error 6 and it says: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 6: The key number parameter is invalid The value stored in the key number parameter is not valid for the file being accessed. The key number must correspond to one of the keys defined for the file. Valid key numbers are 0 through 118. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Now, since am new to PSQL and Btrieve, I am not really sure what a *key number parameter* is... and where in the Btrieve file is it maintained? and what would be the solution for this problem? Thanks for the help thats on its way... Sham |