Yeah, well, the code above doesn't work because of what the kids call a "bug".
PROCESS PROPERTIES(Current process;$name;$state;$time;$mode) Should (obviously) be PROCESS PROPERTIES($process_id;$name;$state;$time;$mode) And that's what I get for *not* writing unit tests for this "simple" function. I tend to screw up simple routines at a way higher rate than more complex routines. Weird, but that's how it is for me. I also noticed that 4D late published a Tech Tip for the same functionality: http://kb.4d.com/assetid=77860 Their code looks right. Grab theirs, if you prefer their variable naming style. ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************