Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if cursor is a view or SPT?
Message
De
01/10/2003 23:50:13
 
 
À
01/10/2003 23:29:07
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00834079
Message ID:
00834082
Vues:
24
>Is there a way to determine if cursor is a view or SPT?
>
>TIA

I don't think there is a hard fast way. CursorGetProp('SourceType') returns a 2 for SPT and remote view.

One thing you could do is check cursorgetprop('KeyFieldList'), assuming all your remote views have a key field, the SPT cursor will not have one defined.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform