Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DBC() from alias
Message
From
22/09/1998 11:58:25
 
 
To
22/09/1998 11:00:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00139467
Message ID:
00139487
Views:
32
>>>>Is there a way to tell what dbc (if any) a table belongs to? Using the table opens the dbc, but does not set it as the current database, so DBC() is no help.
>>>>This seems like a simple request, but I can't find any functions to help me. TIA
>>>
>>>If you open table in DataEnvironment then DE.Cursor.Database property holds path/name of dbc file.
>>
>>Yeah, but this is not form code, but a prg. I am toying with the idea of a dummy invisible form to be used just for this, but don't want to go there except as a last resort. Any other ideas? There has to be a way to do this.
>
>Select MyTable
>? CURSORGETPROP("Database")

I was so busy thinking about DBGETPROP and looking for generic functions that I didn't even think of CURSORGETPROP. Thanks, Ed.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform