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.comICQ #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.