Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ALIAS xxx NOT FOUND
Message
De
10/07/2003 09:36:03
Walter Meester
HoogkarspelPays-Bas
 
 
À
10/07/2003 05:49:00
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00649035
Message ID:
00808830
Vues:
88
Hi jill,

In my case i did identify this was a problem when I did somethin like "THISFORM.TextBox.Value = cSomeValue" while the textbox was bound to a datasource. This was something I inherited from an old application written by someone else.

Also, when sometimes when an error occurs on such form this error could show up when trying to close the form.

Anyway, I'm convinced this is a VFP bug, but I was not able to get some repro code yet.

Walter,


>Hi Walter,
>
>Did you ever find a solution for this? I have almost the exact problem...same in VFP7 and VFP8. The form, Cases, had been working. Now when I close the form i get the alias not found problem (on a view)...I'm using a private data session. The view is open when the "Close" button is clicked, and the error is raised on the READ EVENT command.
>
>THe problem does not occur if the I change form to a modal form! THat should be a hint, but I don't see any code in the calling code that would have an effect on it (called from both a menu and another form).
>
>I don't believe that there are any reference to a control being held in a property of the form.
>
>I've been working on this for a looong time and still have not found the fix....I'm hoping you did...TIA, J
>
>>Hi all,
>>
>>Working with VFP 7 SP 1
>>
>>I've got a form which generates a "ALIAS xxx NOT FOUND" error when I close the form. The alias exist and It is not mannually release when closing the form.
>>
>>The error handling mechanism says that the error is raised on the READ EVENT command. I've debugged the form and it succesfully run trough all the code in the form. However if the form has passed the last commandline in the form it generates the "ALIAS xxx NOT FOUND" error.
>>
>>I've discovered that it moght have something to do with datasession. The form is a private datasession. When I set the current datasession to the datasession of the form the error does not occur. However if I set it in the form (SET DATASESSION TO) the error still ocurs.
>>
>>I do not use SET DATASESSION in any place of my project, nor do I manually release the alias xxx from the form before I close the form.
>>
>>Anybody knows what is happening.
>>
>>TIA
>>
>>Walter,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform