Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a form
Message
 
To
03/11/1998 14:57:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00154041
Message ID:
00154080
Views:
22
>>>>
>>>>I thought the data environment took care of that. The only data the form can't find is the cursor I created.
>>>
>>>You should help DE.
>>>Is cursor created in the same form? Could you provide more details?
>>
>>Yes, the cursor is created in the same form. What details do you want?
>>Thanks for the help.
>
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform