Oct 30, 2003 #1 mensud Programmer Joined Jul 22, 2001 Messages 51 Location US One stupid question: How to close a cursor ?
Oct 30, 2003 #2 ramani Programmer Joined Mar 15, 2001 Messages 4,336 Location AE After the cursor is opened.. probably by SQL SELECT or whatever.. Simply put code USE Example SELECT * FROM myTable INTO CURSOR myCursor BROW USE ____________________________________________ Ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version. Upvote 0 Downvote
After the cursor is opened.. probably by SQL SELECT or whatever.. Simply put code USE Example SELECT * FROM myTable INTO CURSOR myCursor BROW USE ____________________________________________ Ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version.
Oct 30, 2003 #3 jimoo Programmer Joined Jun 2, 2003 Messages 1,111 Location US It's not a stupid question. You don't know until someone shows you. You close it with a USE command. I usually select it first. Select mycursor USE Use will close the current table or cursor. I beleive you can also code it as this to close it: USE IN mycursor Type: HELP USE for more information. Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com Upvote 0 Downvote
It's not a stupid question. You don't know until someone shows you. You close it with a USE command. I usually select it first. Select mycursor USE Use will close the current table or cursor. I beleive you can also code it as this to close it: USE IN mycursor Type: HELP USE for more information. Jim Osieczonek Delta Business Group, LLC http://www.deltabg.com
Oct 30, 2003 Thread starter #4 mensud Programmer Joined Jul 22, 2001 Messages 51 Location US Thanks a lot. Upvote 0 Downvote