>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,
I use this statement...
SELECT * FROM temp INTO CURSOR temp
...and... when I changed the second temp...to another name..it worked fine...