Thanks. Both your reply and Sergey's work. He just beat you by seconds and you could have the 3 stars instead.
>Hi Ramil,
>
>Try
>
>cDatabase = CURSORGETPROP("Database",cMyAlias)
>cDatabase should now contain the fullpath of the database container.
>
>Walter,
>
>>Hi all,
>>
>>Is there a way to identify which database is which in this case?
>>
>>* known: two databases of the same name (MyDatabase) in different folders
>>use dataset1\table1 in 0 && (MyDatabase.dbc in \dataset1)
>>use dataset2\table2 in 0 && (MyDatabase.dbc in \dataset2)
>>
>>Both databases will be opened in VFP. How can I tell one database from the other?
ramil
~~ learning to stand still