Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot overwrite cursor
Message
 
 
À
11/03/2006 12:19:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01103419
Message ID:
01103424
Vues:
14
Steve,

In the Destroy() of your form you should:
use in curx
to close the cursor. This way your form will properly clean up after itself.

The used() function will tell you if an alias is open.

>In a programme, I create a readwrite cursor (eg- curx). The cursor remains active after the programme is over.
>I relaunch the programme again which has the same code to create the same cursor. I get the error "Alias name already in Use"
>
>I'm sure my questions may have simple answers:
>
>One , what is the code to find out whether curx is open?
>Two, if open, what is the code to close only curx?
>Three, is there any flaw in my program, because normal cursors are supposed to overwrite existing cursors?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform