Robert,
If it's happening during the app run then I'd most likely suspect a malformed loop that is inserting into a cursor, or a SQL SELECT that is a cartesian product.
After the app dies you should be able to look at the tmp file with hexedit.app to see what sort of data is in the file which will help you narrow down the code that is creating the cursor.
>The tmp file gets created during the applications runtime, it's hard to say when but definitely not at the startup of the app.
>Thanks for the advice with the foxuser.dbf/fpt - I'll give it a try ASAP.