Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After query, can't reselect original table
Message
From
23/06/2006 12:05:14
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/06/2006 11:34:20
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01131126
Message ID:
01131199
Views:
24
This message has been marked as the solution to the initial question of the thread.
>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.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform