General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Hi Tom,
You can use:
lcDataBase =CURSORGETPROP( "DATABASE",lcTableName )
The name of the database that contains the table or view will be returned. If it is a free table, an empty string will be returned.
Also check out the INDBC() function, but they probably is not what you want...CURSORGETPROP is!
Cheers,
Bob
>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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only