Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After query, can't reselect original table
Message
From
23/06/2006 11:34:20
 
 
To
23/06/2006 11:15:12
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
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:
01131191
Views:
23
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?

>>Me too. I'm absolutely stumped by this one. Thanks for trying, though! :)
>>
>>Anyone else? This one's blowing my mind.
>
>It seems to behave like there's a "browse nowait" instead of plain browse.
>
>I've had cases of a select (workarea) command not working in various scenarios in Fox 2.0 to about 6, which is a random bug happening out of the blue and vanishing back into the same blue as soon as you change the code somewhat. Usually adding a line or reordering a few lines somewhere around the location where it happens would make it vanish. Maybe just try to add a Wait Clear or some other no-op between closing the cursor and selecting your alias.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform