>>>Robert,
>>>
>>>I'm really curious here because I can issue the statement twice:
>>>
SELECT * FROM MyTable INTO CURSOR MyCursor
>>>SELECT * FROM MyTable INTO CURSOR MyCursor
without any errors.
>>>
>>>Did you perhaps do a USE AGAIN ... ALIAS MyCursor? That
would give an error.
>>>
>>>
>>>
>>>>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?
>>Cindy,
>>
>>What ?set('safety') return? :)
>Hi Nadya, returns... ON
Yep, that's why you're getting this error and Cindy is not. Anyway, in your case you better not set it off :)
If it's not broken, fix it until it is.
My Blog