>Yes, you are right. we can make use of AUSED() and get the result. But I feel it is bug in Foxpro. Because we cannot use USED().
I don't think it's a bug - it actually gives you a level of abstraction. Physical names of files can take many different forms (keep in mind that through its history Fox had two Mac versions, two Unix versions, about six DOS versions and five Windows versions), and in many cases the actual filenames are temporary (cursors, views, SPT cursors). Also, when using temporary tables, you often have a random name used many times with the same alias.
Anyway, if it's a bug, it was introduced twelve (or more) years ago, and I haven't heard too many people complaining about it.