Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table or Cursor
Message
De
24/03/2009 15:26:33
 
 
À
23/03/2009 12:06:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01390685
Message ID:
01391156
Vues:
51
Hi Gregory,

(1) IsTable = !empty(cursorgetprop('DataBase', m._alias)) and inlist(Cursorgetprop('SourceType', m._alias), DB_SRCTABLE)

(2) IsView = !empty(cursorgetprop('DataBase', m._alias)) and !inlist(Cursorgetprop('SourceType', m._alias), DB_SRCTABLE)

That was clever from you to use CursorGetProp.

I had made extensive tests,
(1) IsTable() in your example is not giving true result all the time.

(2) Is giving true result all the time and in all cases

Thanks. Appreciated.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform