What about CURSORGETPROP('Database', tablealias)?
Unfortunately, it requires this table to be open...
I've just opened a DBF file in WordPad and found JobControl.dbc at some place. So, I guess, you can do DBFTxt=filetostr("mydbf.dbf"), then search for ".dbc" extension.
What do you think?
>Help!
>
>Ok, so I have a table called c:\guess\sometab.dbf. Is there a function in Visual FoxPro that tells me IF this table is part of a DBC (without having to open the table to find out; in other words, not opening it and then finding out what database opened with it)?
>
>
>________________
>_____/ Regards,
>____/ al
>___/
>__/
>_/
>/
If it's not broken, fix it until it is.
My Blog