KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Hiding and showing processes in 4th Dimension (v6.x)
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: February 4, 2000

Starting a new process takes time. If you have a process which will be frequently used it is much more time efficient to hide and show the process by using the HIDE PROCESS and SHOW POCESS commands rather than let the process die. This will significantly improve performance.

If a process is not needed for background processing during the time it is hidden, it should be paused using the PAUSE PROCESS command so that it doesn't use any CPU time. It's important to remember, a paused process must be resumed by another process using the RESUME PROCESS command, because it can not start itself.

Finally, processes which store selections use memory. If the process does not need the current selection of records, the selection should be cleared from memory.