Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I differ a table from a view in code?
Message
 
To
17/08/2005 14:29:58
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01041748
Message ID:
01041753
Views:
19
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
Previous
Reply
Map
View

Click here to load this message in the networking platform