I figured out that it is coming from the fact that my form closes too quickly. If I set up the "Close this form" rule to trigger when an event occurs, it will write it out. There is, however, one problem. I set up a variable called DatabaseWrite that will tell me if the database has been written. I use one of my functions called "SetFormValue" to set the value of it to "true" to signify that it has been written after the code executes. I end up, after the form closes, with a "catastrophic failure" on the SetFormValue function. Any ideas?
-Dallas