Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
After query, can't reselect original table
Message
De
23/06/2006 12:34:42
 
 
À
23/06/2006 12:05:14
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01131126
Message ID:
01131220
Vues:
27
That was it. Something in my code was calling for the form to be Refreshed, at which point it started trying to work with Fingoods again. I simply left the "select fingoods" line at the top of that code and all is well.

I never realized that simply closing a browse window would cause the Activate code to run on the window below.

Thanks very much to everyone for their help on this!

>>I now see what's happening, but don't understand why...
>>
>>When I close the browse window, it's doing a Refresh. And it's trying to perform operations on fields from Fingoods when the cursor is still active. If I put "select fingoods" at the top of the Refresh code, life is good.
>>
>>It's not hurting anything to have that there, but why would my form refresh itself in the middle of the Click event, just from having a browse window closed?
>
>It's regaining focus - maybe there's some code in .activate of something that calls for a refresh? Try to start an event log in the first line of the .click, and close it at the last line. Maybe that'd tell you what's going on.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform