Doesn't your field definition for APPNAME belong between the record and key definitions? I have never seen a file coded in the sequence you have it in, but perhaps it works that way? Verify that you defined ThisApp as 20 alpha, and not 2.0 decimal. Let me know if that helps. Kevin

Reply With Quote