Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to close cursor

Status
Not open for further replies.

mensud

Programmer
Jul 22, 2001
51
US
One stupid question: How to close a cursor ?
 
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) :)
When you ask VFP questions, please add VFP version.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top