>>>Close them as soon as you're done with them.
>>
>>Craig;
>>
>>I agree. I call it "good house keeping"!
>>
>>Tom
>
>I agree too. Clean the garbage after the form is done... :)
I'm not saying after the form is done. You may only need a cursor for a single method. If so, close it when you're done. I've had report prgs that require many SQL SELECTs into cursors, that are then combined and/or summarized. I close them as soon as I'm done with them. I've noticed a severe slowdown in VFP when I keep lots of unneeded cursors open.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer