Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
View Designer and Associated Cursors
Message
De
29/07/2007 11:42:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
View Designer and Associated Cursors
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01244433
Message ID:
01244433
Vues:
50
VFP leaves alot of cursors open after opening and closing views. Often I find a dozen or more open when I use the SET command to look at my data sessions. These 'left-over' cursors are sometimes problematic when I'm trying to open new views or the same view that I worked on previously so I've written a little function that will close all open cursors. This works great, except ... if I still have a view open, I get the following message: "Cursor '????' cannot be closed because it is used by View/Query designer."

Is there a way to programically know when an open cursor is associated with an view that is still in used by the designer. If there is, I can skip trying to close these particular cursors?

Thanks,
Robert Wright
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform