Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC question
Message
 
 
À
13/09/2000 14:17:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00415691
Message ID:
00416089
Vues:
21
>VFP:
>
>
** lnHandle would be the handle returned from a good SQLCONNECT() call
>* tables
>SQLEXEC(lnHandle, "SELECT objectname FROM DBC() WHERE objecttype = 'Table' ORDER BY objectname", "vfptables")
>
>* views
>SQLEXEC(lnHandle, "SELECT objectname FROM DBC() WHERE objecttype = 'View' ORDER BY objectname", "vfpviews")
Son of a buck, that does work. I knew you could run a query against the DBC, but I would not have thought FROM DBC() would work.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform