Thanks, Sergey and Bob!!
That's what I needed....
>>I have a table which is open. How do I programmatically check which DB it is in?
>>
>> I can't find any commands that tell me that answer.
>>
>> Thank you.
>
>
? CURSORGETPROP("Database", "mytable")
Tom Hayward, Visual FoxPro Programmer and Tutor