Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor not found--Error 13
Message
 
To
23/08/1999 17:49:32
Eric Barger
Fibeax Constructors, Inc
Findlay, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00256828
Message ID:
00256843
Views:
16
>Hi. I think I'm starting to get the hang of this FoxPro stuff. However, I recently ran into the following problem. On a daily time entry form, the user selects (from a dropdown combo) the department in which they work. That value is saved to a variable, and that variable is used to create a cursor (cTasksort) of labor code that apply specifically to that department. The problem is when the form is activated I get the following error message:
>
>THISFORM.Refresh()
>Error: 13
>Alias 'cTasksort' is not found
>Method: navrefresh
>Line: 94
>
>Any suggestions on how to fix this would be greatly appreciated.
>
>EB

Eric, seems like you have the reference to the cursor which does not exist yet by the moment the form activates. You may try to create this cursor in the form.Load() and later it will be re-created each time you select something in the combobox.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform