Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I find out a cursor exists ?
Message
From
03/06/1997 09:36:16
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
 
 
To
03/06/1997 08:51:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00034540
Message ID:
00034697
Views:
42
>>>>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.
>>
>>Can type function used for cursors, if so, please give a example...
>
>I mean 'cursor' object which is part of DE.
>=TYPE('myform.dataenvironment.cursor23') && may return "O" if object exists

well, thanks, thats a new tip for me. thanks
Previous
Reply
Map
View

Click here to load this message in the networking platform