>>>>Don't know whether that has in vfp8 but in vfp6 you had to
>>>>
>>>>(1) Clean up database before building the RI ( = PACK DATABASE)
>>>>
>>>>(2) after having added/overwritten the code in the database (with append procedures) you had to COMPILE DATABASE
>>>>
>>>>
>>>>These are the operations you have to do.
>>>>
>>>>The only exception to catch is OPEN DATA ... EXCL for the pack
>>>
>>>I added the code for PACK and COMPILE in the builder itself, but it didn't help. The error is still occurring. By this I deduct, that this error is untrappable.
>>
>>Strange. My memory is not what it used to be, sigh
>
>No, you're right. However, it seems like using PACK database in code is not the same as doing it in the command window. E.g. if I do it in the command window, I don't get this error. If I don't, I get the error constantly.
Well, maybe open the database excl as a table and try a simple PACK ??
Then use, and open data excl
Gregory