>I found !
>The answer is INDBC()
>Sorry!
Roland,
At first look it's INDBC(). But be carefull it might trap you. Indbc() returning .t. doesn't mean the table you're querying is really in that DBC. Suppose you have 2 tables both named mytable.dbf where one is free actually.
Indbc() would return .t. for both of them (there is mytable as a table object).
You must explicitly check if it's the one you're looking for. You can do it :
use myTable
? dbf('mytable'),cursorgetprop('Database','mytable'),dbgetprop('MYTABLE','TABLE','PATH')
Cetin