Thanks moving the $= Execute($Form.DoEvents(1)) to after the do statement worked. I thought I tried that but obviously didn't since it now works.

I also change and added the following so events could be logged

Code:
$ExitApp.OnClick = "Leave()"  



and added the function Leave()

Code:

Function Leave()
Open (9,$locallog + @USERID +".csv",5)
WriteLine (9,"," + @DATE+"," + @TIME + "User Aborted Session $message"+@CRLF)
Close (9)
Quit
EndFunction



Now for my next question since this is my first attempt utilizing KiXform. How do I clear the form? Or should I start a new chain for this discussion?
_________________________
I haven't failed. I just found another way that did not work.