Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine if cursor is a view or SPT?
Message
From
01/10/2003 23:50:13
 
 
To
01/10/2003 23:29:07
Larry Long
ProgRes (Programming Resources)
Georgia, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00834079
Message ID:
00834082
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform