[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== WC_VALID% and multiple processes (AREV Specific) ==== === At 30 DEC 2004 02:49:17PM Matt Sorrell wrote: === {{tag>"AREV Specific"}} I have a collector window that I am hooking another process onto. Basically, if a record is set up in Table A, the Save process on the collector checks Table B for a record. If there is no record in Table B, it displays an error message, sets WC_VALID% to false, and bails out. This would all work fine and dandy if I was only calling this one process from the Save hook. However, there is a system routine that is also called from the Save hook, and I have these two processes chained together using a semi-colon. My process is called first, because I want to be able to interrupt things if the record does not exist in Table B. However, even though I am setting WC_VALID% to false, the next process in the chain is still firing. How can I prevent the system from calling the next event? TIA, msorrel@greyhound.com [url=http://www.greyhound.com]Greyhound Lines, Inc.[/url] ---- === At 30 DEC 2004 03:15PM support@sprezzatura.com wrote: === Catalyst does not respond to window common variables. To exit set @Ans to 1 (I think - sorry it has been a while so you might have to confirm this as although I'm sure it's in REVMEDIA somewhere I can't find it :(...) support@sprezzatura.com The Sprezzatura Group Web Site [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === At 30 DEC 2004 03:54PM Matt Sorrell wrote: === And once again the might Sprezz comes through. For those that are interested, I present the following [url=http://www.sprezzatura.com/revmedia/v2i5a5.htm]clicky[/url]. Oh, and it says I'm supposed to ask how you know . . . . . *grin* msorrel@greyhound.com [url=http://www.greyhound.com]Greyhound Lines, Inc.[/url] ---- === At 30 DEC 2004 04:00PM Matt Sorrell wrote: === That worked perfectly!!! Between that little trick and playing around with VSpace, I have learned quite a bit on this little project. Gotta love those new SOX (Sarbanes-Oxley) rules. *thud* msorrel@greyhound.com [url=http://www.greyhound.com]Greyhound Lines, Inc.[/url] ---- === At 30 DEC 2004 04:04PM support@sprezzatura.com wrote: === Sheesh yes, spent hours tracking that one down. For me at the time it was very undesirable behaviour :). support@sprezzatura.com The Sprezzatura Group Web Site [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] ---- === At 30 DEC 2004 04:08PM Matt Sorrell wrote: === I was just telling someone else about how you most likely ran across that. I can just imagine the following thought process: Let's see, I'm doing this check and I need to know what happened. I know, I can set @Ans to true or false, then my next routine can check this to see if it's okay to continue. Hey, WAIT JUST A MINUTE!!! I told my routine the check passed, but it bailed out. I can see where that would be very frustrating :) msorrel@greyhound.com [url=http://www.greyhound.com]Greyhound Lines, Inc.[/url] ---- === At 30 DEC 2004 04:32PM support@sprezzatura.com wrote: === Give that man a ceegar! support@sprezzatura.com The Sprezzatura Group Web Site [i]World Leaders in all things RevSoft[/i] [img]http://www.sprezzatura.com/zz.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=A33436158D0DDCA585256F7A006CE201|View this thread on the forum...]]