Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do i know the table belongs to which dbc?

Status
Not open for further replies.

sohrab100

Programmer
Jan 18, 2002
56
0
0
HK
I am using vfp6, i found the function INDBC() for checking the table whether belongs to current database, but how do it know whether the table is "belongs to other database" or "a freetable" when INDBC() return .f.

Or, how can it detects the table is a free table?

Thanks

sohrab100
 
HI

SELECT 0
USE myTable
myDBC = CURSORGETPROP("DATABASE")

IF myDBC is empty, it is a freetable otherwise, that is the DBC it belongs to. :)


ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top