Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I wrap my code (incl.) to cleanup cursors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
How can I wrap my code (incl.) to cleanup cursors
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01107589
Message ID:
01107589
Vues:
62
Dear all

I have the following code to call my mover box:
*** call the mover form
IF DoForm("afrmMoverCursorVert", "CA1 OIO Numbers", "crstCA1", 1)
	*** init for new values
	THIS.VALUE = curSelected.cOIONo


	*** close movers cursors
	USE IN curAvailable
	USE IN curSelected
ENDIF
As you notice that I have to close the cursors, this is a simple logic and I am clearing up there and then, there maybe complicated logic inbetween the mover and closing of the cursor.

Is there any way that this can be may self garbage collecting?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform