Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tables in Database
Message
De
14/08/2001 11:11:45
 
 
À
14/08/2001 10:56:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00543523
Message ID:
00543536
Vues:
14
>Hi All,
>
>How can I get an array of all the tables in a database through the VFP ODBC connection?
>
>TIA
>MIKE

Just to make sure of myself: this is the odbc connection *into* vfp, right?

VFP won't return an array. You'll have to query the DBC for this.

The sql would be:
select objectname from DBC() where objecttype = "Table"
I'm assuming you're calling this *from* VFP as well. if you need an array, you'd have to then select..into array from the result cursor.

The odbc connection should be set up as not exclusive as well.
Insanity: Doing the same thing over and over and expecting different results.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform