>Is there a function to tell where a table is a member of a DBC or a free table. I have an open DBC and before I open a table I need to know if it belongs in the DBC or is a free table. I open the files with different parameters depending on the source.
Fred,
use the CURSORGETPROP( 'database', 'alias') command
It will return the database name if there is one, or an empty string.
HTH
regards
Ian