Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find out a cursor exists ?
Message
From
12/06/1997 14:21:30
Scott Knight
Human Resources Development Canada
St. John's, Newfoundland, Canada
 
 
To
02/06/1997 13:45:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00034540
Message ID:
00036131
Views:
32
>>The problem I have is the path to my development data and my production data are not the same they have different drive letters. The BeforeOpenTables method will allow me to set the database location to whatever I want. The problem is I have about 30 cursors but they are numbered 1 thru 64. How can I check to see if the This.cursor(x) exists before I attempt to set properties for it.
>>
>>Thanks
>>
>>
>>Scott k
> You can use TYPE function which will return "O" if object exists.

Ed,
Thanks for your help that worked perfectly.
Previous
Reply
Map
View

Click here to load this message in the networking platform