Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBC() from alias
Message
De
22/09/1998 11:58:25
 
 
À
22/09/1998 11:00:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00139467
Message ID:
00139487
Vues:
31
>>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform