CursorGetProp("Database")to find the database of a table. If the return value is empty, you are dealing with a free table. If you don't want to open the table, you have to check the header for the version. The help file contains a description of the DBF header structure.