>There is the indbc() function. ie
>if INDBC("mytable","TABLE") ...
>
>Also, a foxpro dbc is itself a foxpro table so you can SELECT * FROM C:\MYFPAPP\DATA\mydatabase.dbc and you will see that you can refine the query with objecttype and objectname values to see if your table is present in the dbc.
>
>Jeff
InDbC() doesn't tell you to what DBC a table belongs to. It tells you if an object is a member of 'current DBC'. CursorGetProp('Database', ....) was the correct answer as Borislav pointed to.
Cetin