Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving a form
Message
De
03/11/1998 15:17:02
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00154041
Message ID:
00154084
Vues:
23
~*SNIP*~
>>Some pretty simple details. For example, why and in what event you found that cursor disappeared. The only way to 'disappear' cursor (within the same form) is to close it. If, for some reason, you open another table/cursor in the same work area then the previous alias is gone. BTW, are you aware that creating a cursor you just get an alias linked to some memory area, i.e. not exactly physical file?
>
>The cursor doesn't disappear - I get an error message saying it doesn't exist. (Maybe that means it disappears!.) I say
> SELECT fields FROM table INTO CURSOR tempdata WHERE ...
> (There should be records selected.)
>My next statement is then
> USE tempdata in 0
>That's where I get the error message.
>Before I moved the project, this form worked. Therefore I conclude the error message has to do with where it's looking for the CURSOR.

That *is* odd, if moving the project is all you did.

IAC, you can't USE a cursor, but you can SELECT it.

In this case, since you've just created the cursor, SELECTing shouldn't be necessary...

HTH,
Paul M.
MCSE/MCSA/MCT/MCP+I, A+, Network+, I-Net+
Nil carborundum illegitimi.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform