Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alias not found
Message
De
05/09/2001 15:10:44
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
05/09/2001 13:32:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00552679
Message ID:
00552747
Vues:
12
>I have a parent form with a private data session that calls a child form that shows in top level form, also has a private data session, and returns a numeric value. The Init() of the parent form creates a cursor called 'tmpsumm'. When returning from the child form, the parent form tries to SELECT tmpsumm which produces the error "Alias 'Tmpsumm' not found." However, the ON ERROR routine captures all of the aliases used in every data session using AUSED() and I have verified that alias Tmpsumm does in fact exist in a work area.

Put a breakpoint on the line in the parent form that does the SELECT tmpsumm. When the code breaks, type in SET in the command window and check that the alias is available.

Is the child form a modal form? If it's modeless, you probably already know that the code in the parent form will continue executing after the child form is shown. It won't pause.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform