Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this table Free or a Memeber of a DBC?
Message
De
23/03/1998 10:39:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
23/03/1998 10:30:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00086396
Message ID:
00086406
Vues:
37
>Is there a function to tell where a table is a member of a DBC or a free table. I have an open DBC and before I open a table I need to know if it belongs in the DBC or is a free table. I open the files with different parameters depending on the source.

Oh, sorry missed some. Try this :
cDbcName = cursorgetprop("Database",cAlias)
do case
   case empty(cDBCName)  && Free table
   case !cDBCName == DBC()  && Not current dbc or not open yet
   ...
endcase
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform