Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I want to delete my active cursor?
Message
 
 
To
10/10/2000 11:07:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00427287
Message ID:
00427307
Views:
14
>>>In vfp60, I have the following code:
>>>select * from mytable into cursor mycursor...
>>>I use this line of code more than once in my program...
>>>When I try to use this line a code for the second time, I get an error message saying...Alias name afready in use...I need to delete mycursor before I run the select statement...how do I delete my cursor?
>>

>>USE IN mycursor
>Hi Sergey,
>Are you saying to use this code...
>USE IN mycursor
>SELECT * FROM mytable INTO mycursor


The code below will close your cursor only if it is open
IF USED("mycursor")
   USE IN mycursor
ENDIF
SELECT * FROM mytable INTO mycursor
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform