Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tables property
Message
 
 
À
30/08/2003 12:35:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00824802
Message ID:
00824822
Vues:
17
Grigore,

Short of writing your own SQL command parser your solution is a good one. Make sure you are using a temporary DBC for this otherwise you are bloating your real DBC with these deleted views.

>I have one for today. Let's assume I have a working SQL command. I won't give it here, because I need a general way.
>
>Is it possible to know the .Tables property of that SQL command? It could be a SELECT field1, field2 FROm table, or SELECT * from table, or SELECT table1.field1, table2.field2 FROM table1 LEFT JOIN table2, an so on.
>
>How to extract the tables?
>
>Right now I am using a workaround - i create a view based on that synthax, get the tables from there, then delete the view. Is there a better way?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform