Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a form
Message
From
03/11/1998 15:17:02
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00154041
Message ID:
00154084
Views:
24
~*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.
Previous
Reply
Map
View

Click here to load this message in the networking platform