>I am creating one class. In this class I open one table which its name is passed by parm in init method (USE tablename IN 0).
>
>Later in this class I am using
>DBGETPROP('tablename.field1',"FIELD","Caption"). VFP sends message saying there is no current database.
>
>How to know which database this table belongs?
WAIT WINDOW CURSORGETPROP([DataBase],[Alias])
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.