Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I differ a table from a view in code?
Message
 
À
17/08/2005 14:29:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01041748
Message ID:
01041753
Vues:
18
View is a cursor, so you could use ?dbf(). For view it will show ***.tmp instead of ***.dbf.

Also ?CURSORGETPROP("SourceType") should give you the answer.

>Hi,
>
>please does anybody know, how I can differ a Table from a View, when I just have the ALIAS() name.
>
>vtemp = Alias()
>? I would need to know, if this alias is a View or a Table.
>
>Thank you so much
>
>Johann Pietschig
>pietschig@usa.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform