I have a 4.1.3.8 project with a page that a user enters inventory. If the model number exists already when Insert is clicked, I want to display a message to the user warn- ing them that the model number exists for the vendor. Also, I want to stay on the same page while this happens. Whether the insert is allowed to execute is based on the number of rows returned by a dataobject; if rows is greater than 0, than a model number exists- warn the user of this fact. My problem is that everything works, but that it takes 3 clicks to insert rather than 2. I inserted debug code through the Insert_onWebEvent and I can trace execution through the first and third iteration of the event. But during the second iteration (the second click), I don't know where control lies. Can anyone offer advice or clear up where execution flows to when I stop an event method? I've tried various ways of stopping the Insert: return(STOP), command = STOP, return(SKIP), but all produce the same result: 3 clicks to insert rather then 2. I would appreciate any advice on this matter as well as any better ways to stop an Insert event. _________________________________________________________________________ For help in using, subscribing, and unsubscribing to the discussion forums, please go to: http://www.netdynamics.com/support/visitdevfor.html For dire need help, email: [EMAIL PROTECTED]
