Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor not found--Error 13
Message
 
À
23/08/1999 17:49:32
Eric Barger
Fibeax Constructors, Inc
Findlay, Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00256828
Message ID:
00256843
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform