Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the alias?(dbf,view or cursor)
Message
From
26/02/2001 09:52:10
 
 
To
26/02/2001 09:36:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00479488
Message ID:
00479501
Views:
30
Hi!

Try:
cursorgetprop('SourceType')

There are also no reliable way to separate table from cursor created by create cursor command, but in some cases you can usef ollowing criteria:

- cursor is in exclusive mode always when table usually opened as shared (isexclusive() function)
- function file(dfb()) for cursors usually return .F.
- cursors returned by SQL Statement are read-only (IsReadonly() function)

HTH.

>It is possible to know what the alias is?
>Maybe a table,view or cursor.
>Thanks.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform