General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>It is somehow tied to the grid of the calling form, becuase the cursor that is selected is the recordsource for that grid. There is a timer on that form, but it does not do anything with that grid.
>
>What I ended up doing is putting "Select Request" at the top of all procedures on the calling form that use it. It may not solve the problem per se, but it does resolve the issues I was having. The code in the INIT() does seem to work as long as I don't put a set step in there to watch it. What appears to be happening is as soon as the system gets a free cycle or two it is running 'something' from the calling form that changes the current work area.
FWIW, I don't have very much code anymore that cares what the current work area is. I make sure to add the IN clause wherever I can, and specify the alias in all function calls that accept it. That gets me down to just a few commands that care about the current work area.
Tamar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only