>>>Is there a way to show all free tables on a forder? Something like Dir command.
>>
>>Check out ADIR() command. You can then loop through this array and check, if this table free or not. You can do it by opening this table and check cursorgetprop() or you can do so using low-level functions. If you want the later approach, let me know, I'll search for the specific message by Sergey B, which demonstrates it.
>
>INDBC() should work too.
It would not according to help:
INDBC(cDatabaseObjectName, cType) We need to check, if the table free or not (not to check, if it belongs to the particular database).
BTW, since you're already in this thread, could you please remind the message ID for checking database name wihtout opening the table?
If it's not broken, fix it until it is.
My Blog