Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the alias?(dbf,view or cursor)
Message
 
 
À
26/02/2001 09:36:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00479488
Message ID:
00479501
Vues:
34
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform